package org.jeecg.modules.base.entity; import com.baomidou.mybatisplus.annotation.TableField; 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; /** * @author */ @Data @TableName("mom_base_client") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value = "mom_base_client对象", description = "mom_base_client") public class Client extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 客户编码 */ @Excel(name = "客户编码", width = 15) @ApiModelProperty(value = "客户编码") private String num; /** * 客户名称 */ @Excel(name = "客户名称", width = 15) @ApiModelProperty(value = "客户名称") private String name; /** * 简称 */ @Excel(name = "简称", width = 15) @ApiModelProperty(value = "简称") private String abbreviation; /** * 客户类型 */ @Excel(name = "客户类型", width = 15,dicCode = "client_type") @ApiModelProperty(value = "客户类型") @Dict(dicCode = "client_type") private String clientType; /** * 所属行业 */ @Excel(name = "所属行业", width = 15) @ApiModelProperty(value = "所属行业") private String affiliationIndustry; /** * 地址 */ @Excel(name = "地址",width = 30) @ApiModelProperty(value = "地址") private String address; /** * 租户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 clientUda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String clientUda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String clientUda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String clientUda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String clientUda5; /** * 状态 0 禁用 1 启用 */ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status = CommonConstant.STATUS_1; /** * 客户分类Id */ @Excel(name = "supplier_category_id", width = 15) @ApiModelProperty(value = "supplier_category_id") private String clientCategoryId; @ApiModelProperty(value = "客户分类编码/名称") @TableField(exist = false) private String clientCategoryNumName; }