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-05-18
 */
@Data
@TableName("crm_lead")
public class CrmLeadEntity  {
    @TableId(value ="lead_id"  )
    @JSONField(name = "lead_id")
    private String leadId;
    @TableField(value = "lead_name" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "lead_name")
    private String leadName;
    @TableField(value = "mobile" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "mobile")
    private String mobile;
    @TableField(value = "email" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "email")
    private String email;
    @TableField(value = "lead_status" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "lead_status")
    private String leadStatus;
    @TableField(value = "sales_id" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "sales_id")
    private String salesId;
    @TableField(value = "customer_source" , updateStrategy = FieldStrategy.IGNORED)
    @JSONField(name = "customer_source")
    private String customerSource;
    @TableField("customer_id")
    @JSONField(name = "customer_id")
    private String customerId;
    @TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
    @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("f_flow_id")
    @JSONField(name = "f_flow_id")
    private String flowId;
    @TableField("f_flow_task_id")
    @JSONField(name = "f_flow_task_id")
    private String flowTaskId;
    @TableField("f_delete_mark")
    @JSONField(name = "f_delete_mark")
    private Integer deleteMark;
    @TableField("f_delete_time")
    @JSONField(name = "f_delete_time")
    private Date deleteTime;
    @TableField("f_delete_user_id")
    @JSONField(name = "f_delete_user_id")
    private String deleteUserId;
    @TableField("f_version")
    @Version
    @JSONField(name = "f_version")
    private Integer version;
    @TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "f_tenant_id")
    private String tenantId;

}
