package com.yunzhupaas.mdm.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
/**
 * 客户
 *
 * @版本： V5.2.7
 * @版权： Copyright @ 2025  深圳市乐程软件有限公司版权所有
 * @作者： 深圳市乐程软件有限公司
 * @日期： 2026-04-24
 */
@Data
@TableName("mdm_customer")
public class CustomerEntity  {
    @TableId(value ="customer_id"  )
    @JSONField(name = "customer_id")
    private String customerId;
    @TableField("company_id")
    @JSONField(name = "company_id")
    private String companyId;
    @TableField(value = "major_person_id" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "major_person_id")
    private String personId;
    @TableField(value = "customer_level" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "customer_level")
    private String customerLevel;
    @TableField(value = "customer_source" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "customer_source")
    private String customerSource;
    @TableField("remark")
    @JSONField(name = "remark")
    private String remark;
    @TableField("create_by")
    @JSONField(name = "create_by")
    private String createBy;
    @TableField("create_time")
    @JSONField(name = "create_time")
    private Date createTime;
    @TableField("update_by")
    @JSONField(name = "update_by")
    private String updateBy;
    @TableField("update_time")
    @JSONField(name = "update_time")
    private Date updateTime;
    @TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "f_tenant_id")
    private String tenantId;

}
