package org.jeecg.modules.base.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import java.io.Serializable; @Data @TableName("mom_base_client_contact") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value = "mom_base_client_contact对象", description = "mom_base_client_contact") public class ClientContact extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 联系人名称 */ @Excel(name = "联系人名称", width = 15) @ApiModelProperty(value = "联系人名称") private String name; /** * 性别(0:男 1:女) */ @Excel(name = "性别", width = 15,dicCode = "sex") @Dict(dicCode = "sex") @ApiModelProperty(value = "性别") private String sex; /** * 职位 */ @Excel(name = "职位", width = 15) @ApiModelProperty(value = "职位") private String position; /** * 电子邮件 */ @Excel(name = "电子邮件", width = 15) @ApiModelProperty(value = "电子邮件") private String email; /** * 电话 */ @Excel(name = "电话", width = 15) @ApiModelProperty(value = "电话") private String phone; /** * 电话 */ @Excel(name = "是否默认", width = 15) @ApiModelProperty(value = "是否默认") @Dict(dicCode = "default_value") private String defaultValue; /** * 供应商ID */ @Excel(name = "client_id", width = 15) @ApiModelProperty(value = "客户id") private String clientId; /** * 租户id */ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private String tenantId; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /** * 备注 */ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /** * 备用字段1 */ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String clientContactUda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String clientContactUda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String clientContactUda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String clientContactUda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String clientContactUda5; /** * 状态 0 禁用 1 启用 */ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status = CommonConstant.STATUS_1; }