package com.ruoyi.tms.domain; import java.math.BigDecimal; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.util.Date; import lombok.Data; /** * 客户信息对象 tms_customer_info * * @author ruoyi * @date 2025-11-02 */ @Data public class TmsCustomerInfo { /** * 主键ID */ @TableId(value = "id" , type = IdType.AUTO) private Integer id; /** * 客户类型:1=普通客户;2=VIP客户;3=集团内企业;4=其他 */ @Excel(name = "客户类型:1=普通客户;2=VIP客户;3=集团内企业;4=其他") @TableField("customer_type") private Integer customerType; /** * 客户简称 */ @Excel(name = "客户简称") @TableField("customer_short_name") private String customerShortName; /** * 客户编号 */ @Excel(name = "客户编号") @TableField("customer_code") private String customerCode; /** * 客户全称 */ @TableField("customer_full_name") private String customerFullName; /** * 经营登记证件号码 */ @TableField("business_license_no") private String businessLicenseNo; /** * 地址 */ @TableField("address") private String address; /** * 联系人姓名 */ @Excel(name = "联系人姓名") @TableField("contact_name") private String contactName; /** * 联系人电话 */ @TableField("contact_phone") private String contactPhone; /** * 联系人邮箱 */ @TableField("contact_email") private String contactEmail; /** * 签约公司 */ @Excel(name = "签约公司") @TableField("sign_company") private String signCompany; /** * 商务对接人名称 */ @Excel(name = "商务对接人名称") @TableField("biz_contact_name") private String bizContactName; /** * 商务对接人电话 */ @TableField("biz_contact_phone") private String bizContactPhone; /** * 商务对接人邮箱 */ @TableField("biz_contact_email") private String bizContactEmail; /** * 客户信用评级(评级模块自动填写) */ @Excel(name = "客户信用评级" , readConverterExp = "评=级模块自动填写") @TableField("credit_rating") private Integer creditRating; /** * 信用额度(金额)(评级模块自动填写) */ @Excel(name = "信用额度" , readConverterExp = "金=额") @TableField("credit_amount") private BigDecimal creditAmount; /** * 信用额度(单量)(评级模块自动填写) */ @Excel(name = "信用额度" , readConverterExp = "单=量") @TableField("credit_order_limit") private Integer creditOrderLimit; /** * 经营状态:0=正常经营;1=暂停经营;2=终止经营 */ @Excel(name = "经营状态:0=正常经营;1=暂停经营;2=终止经营") @TableField("business_status") private Integer businessStatus; /** * 合同状态:0=正常;1=临期;2=已超期 */ @Excel(name = "合同状态:0=正常;1=临期;2=已超期") @TableField("contract_status") private Integer contractStatus; /** * 数据状态:0=草稿;1=审核通过;2=已作废 */ @Excel(name = "数据状态:0=草稿;1=审核通过;2=已作废") @TableField("data_status") private Integer dataStatus; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("create_time") private Date createTime; /** * 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("update_time") private Date updateTime; /** * 备注 */ @TableField("remark") private String remark; }