Material.java 7.98 KB
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;

    /**
     * 库区
     */
    @TableField(value = "zoneCode")
    @ApiModelProperty(value="库区")
    @Excel(name = "库区")
    private String zoneCode;

    /**
     * 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;

    /** */
    @TableField(value = "isMix")
    @ApiModelProperty(value = "是否允许混放")
    private Boolean isMix;
    /** 打印机名称 */
    //    private static final  String printName = "Gprinter GP-1424D";

    /**
     * 物料分区
     */
    @TableField(value = "materialAreaCode")
    private String materialAreaCode;
    /**
     * 条码
     */
    @TableField(value = "barcode")
    private String barcode;

    @TableField(value = "useCount")
    @ApiModelProperty(value="生成任务计数")
    @Excel(name = "生成任务计数")
    private int useCount;

    @TableField(value = "qcFlag")
    private String qcFlag;
}