package com.huaheng.pc.config.material.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.huaheng.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import lombok.Data; @ApiModel(value="com.huaheng.pc.config.material.domain.Material") @Data @TableName(value = "material") public class Material implements Serializable { /** * ID */ @TableId(value = "id", type = IdType.AUTO) @ApiModelProperty(value="ID") @Excel(name = "ID") private Integer id; /** * 物料编码 */ @TableField(value = "code") @ApiModelProperty(value="物料编码") @Excel(name = "物料编码") private String code; /** * 货主编码 */ @TableField(value = "companyCode") @ApiModelProperty(value="货主编码") @Excel(name = "货主编码") private String companyCode; /** * 仓库编码 */ @TableField(value = "warehouseCode") @ApiModelProperty(value="仓库编码") @Excel(name = "仓库编码") private String warehouseCode; /** * 名称 */ @TableField(value = "name") @ApiModelProperty(value="名称") @Excel(name = "名称") private String name; /** * 规格 */ @TableField(value = "spec") @ApiModelProperty(value="规格") @Excel(name = "规格") private String spec; /** * 单位 */ @TableField(value = "unit") @ApiModelProperty(value="单位") @Excel(name = "单位") private String unit; /** * 类别 */ @TableField(value = "type") @ApiModelProperty(value="类别") @Excel(name = "类别") private String type; /** * ABC分类 */ @TableField(value = "abcClass") @ApiModelProperty(value="ABC分类") @Excel(name = "ABC分类") private String abcClass; /** * 保质期(天) */ @TableField(value = "daysToExpire") @ApiModelProperty(value="保质期(天)") @Excel(name = "保质期(天)") private Integer daysToExpire; /** * 定位规则 */ @TableField(value = "locatingRule") @ApiModelProperty(value="定位规则") @Excel(name = "定位规则") private String locatingRule; /** * 分配规则 */ @TableField(value = "allocationRule") @ApiModelProperty(value="分配规则") @Excel(name = "分配规则") private String allocationRule; /** * 补货规则 */ @TableField(value = "replenishmentRule") @ApiModelProperty(value="补货规则") @Excel(name = "补货规则") private String replenishmentRule; /** * 空货位规则 */ @TableField(value = "emptyLocRule") @ApiModelProperty(value="空货位规则") @Excel(name = "空货位规则") private String emptyLocRule; /** * 入库流程 */ @TableField(value = "receivingFlow") @ApiModelProperty(value="入库流程") @Excel(name = "入库流程") private String receivingFlow; /** * 出库流程 */ @TableField(value = "shippingFlow") @ApiModelProperty(value="出库流程") @Excel(name = "出库流程") private String shippingFlow; /** * 属性模版 */ @TableField(value = "attributeTemplateCode") @ApiModelProperty(value="属性模版") @Excel(name = "属性模版") private String attributeTemplateCode; /** * 记录序列号 */ @TableField(value = "trackSerialNum") @ApiModelProperty(value="记录序列号") @Excel(name = "记录序列号") private Integer trackSerialNum; /** * 自动生成序列号 */ @TableField(value = "autoGenSerialNum") @ApiModelProperty(value="自动生成序列号") @Excel(name = "自动生成序列号") private Integer autoGenSerialNum; /** * 自动生成序列号表达式 */ @TableField(value = "autoGenSerialNumFormat") @ApiModelProperty(value="自动生成序列号表达式") @Excel(name = "自动生成序列号表达式") private String autoGenSerialNumFormat; /** * 序列号模版 */ @TableField(value = "snTemplateCode") @ApiModelProperty(value="序列号模版") @Excel(name = "序列号模版") private String snTemplateCode; /** * 临期预警天数 */ @TableField(value = "expiringDays") @ApiModelProperty(value="临期预警天数") @Excel(name = "临期预警天数") private Integer expiringDays; /** * 收货预警天数 */ @TableField(value = "minShelfLifeDays") @ApiModelProperty(value="收货预警天数") @Excel(name = "收货预警天数") private Integer minShelfLifeDays; /** * 状态 */ @TableField(value = "enable") @ApiModelProperty(value="状态") private Boolean enable; /** * 创建时间 */ @TableField(value = "created") @ApiModelProperty(value="创建时间") private Date created; /** * 创建用户 */ @TableField(value = "createdBy") @ApiModelProperty(value="创建用户") private String createdBy; /** * 创建时间 */ @TableField(value = "lastUpdated") @ApiModelProperty(value="创建时间") private Date lastUpdated; /** * 更新用户 */ @TableField(value = "lastUpdatedBy") @ApiModelProperty(value="更新用户") private String lastUpdatedBy; /** * 数据版本 */ @TableField(value = "version") @ApiModelProperty(value="数据版本") @Excel(name = "数据版本") private Integer version; /** * 是否AGV区域发货 */ @TableField(value = "userDef1") @ApiModelProperty(value="是否AGV区域发货") @Excel(name = "是否AGV区域发货") private String userDef1; /** * 自定义字段2 */ @TableField(value = "userDef2") @ApiModelProperty(value="自定义字段2") private String userDef2; /** * 商品同步标识 */ @TableField(value = "userDef3") @ApiModelProperty(value="商品同步标识") private String userDef3; /** * 自定义字段4 */ @TableField(value = "userDef4") @ApiModelProperty(value="自定义字段4") private String userDef4; /** * 自定义字段5 */ @TableField(value = "userDef5") @ApiModelProperty(value="自定义字段5") private String userDef5; /** * 自定义字段6 */ @TableField(value = "userDef6") @ApiModelProperty(value="自定义字段6") private String userDef6; /** * 自定义字段7 */ @TableField(value = "userDef7") @ApiModelProperty(value="自定义字段7") private String userDef7; /** * 自定义字段8 */ @TableField(value = "userDef8") @ApiModelProperty(value="自定义字段8") private String userDef8; /* 删除标记*/ @TableField(value = "deleted") @ApiModelProperty(value = "删除标记") private Boolean deleted; private static final long serialVersionUID = 1L; public static final String COL_CODE = "code"; public static final String COL_COMPANYCODE = "companyCode"; public static final String COL_WAREHOUSECODE = "warehouseCode"; public static final String COL_NAME = "name"; public static final String COL_SPEC = "spec"; public static final String COL_UNIT = "unit"; public static final String COL_TYPE = "type"; public static final String COL_ABCCLASS = "abcClass"; public static final String COL_DAYSTOEXPIRE = "daysToExpire"; public static final String COL_LOCATINGRULE = "locatingRule"; public static final String COL_ALLOCATIONRULE = "allocationRule"; public static final String COL_REPLENISHMENTRULE = "replenishmentRule"; public static final String COL_EMPTYLOCRULE = "emptyLocRule"; public static final String COL_RECEIVINGFLOW = "receivingFlow"; public static final String COL_SHIPPINGFLOW = "shippingFlow"; public static final String COL_ATTRIBUTETEMPLATECODE = "attributeTemplateCode"; public static final String COL_TRACKSERIALNUM = "trackSerialNum"; public static final String COL_AUTOGENSERIALNUM = "autoGenSerialNum"; public static final String COL_AUTOGENSERIALNUMFORMAT = "autoGenSerialNumFormat"; public static final String COL_SNTEMPLATECODE = "snTemplateCode"; public static final String COL_EXPIRINGDAYS = "expiringDays"; public static final String COL_MINSHELFLIFEDAYS = "minShelfLifeDays"; public static final String COL_ENABLE = "enable"; public static final String COL_CREATED = "created"; public static final String COL_CREATEDBY = "createdBy"; public static final String COL_LASTUPDATED = "lastUpdated"; public static final String COL_LASTUPDATEDBY = "lastUpdatedBy"; public static final String COL_VERSION = "version"; public static final String COL_USERDEF1 = "userDef1"; public static final String COL_USERDEF2 = "userDef2"; public static final String COL_USERDEF3 = "userDef3"; public static final String COL_USERDEF4 = "userDef4"; public static final String COL_USERDEF5 = "userDef5"; public static final String COL_USERDEF6 = "userDef6"; public static final String COL_USERDEF7 = "userDef7"; public static final String COL_USERDEF8 = "userDef8"; public static final String COL_DELETED = "deleted"; }