BomHeader.java 6.75 KB
package com.huaheng.pc.config.bom.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 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.bom.domain.BomHeader")
@Data
@TableName(value = "bom_header")
public class BomHeader implements Serializable {
    /**
     * 内部号
     */
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="内部号")
    private Integer id;

    /**
     * 货主
     */
    @TableField(value = "companyCode")
    @ApiModelProperty(value="货主")
    private String companyCode;

    /**
     * 仓库代码
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库代码")
    private String warehouseCode;

    /**
     * 物料
     */
    @TableField(value = "materialCode")
    @ApiModelProperty(value="物料")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField(value = "materialName")
    @ApiModelProperty(value="物料名称")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField(value = "materialSpec")
    @ApiModelProperty(value="物料规格")
    private String materialSpec;

    /**
     * 数量单位
     */
    @TableField(value = "materialUnit")
    @ApiModelProperty(value="数量单位")
    private String materialUnit;

    /**
     * 数量
     */
    @TableField(value = "qty")
    @ApiModelProperty(value="数量")
    private String qty;

    /**
     * 有效
     */
    @TableField(value = "enable")
    @ApiModelProperty(value="有效")
    private Integer enable;

    /**
     * 修正号码
     */
    @TableField(value = "revisionNum")
    @ApiModelProperty(value="修正号码")
    private Integer revisionNum;

    /**
     * 加工说明
     */
    @TableField(value = "buildInstructions")
    @ApiModelProperty(value="加工说明")
    private String buildInstructions;

    /**
     * 加工货位
     */
    @TableField(value = "buildLoc")
    @ApiModelProperty(value="加工货位")
    private String buildLoc;

    /**
     * 有效起始日期
     */
    @TableField(value = "validFromDate")
    @ApiModelProperty(value="有效起始日期")
    private Date validFromDate;

    /**
     * 有效结束日期
     */
    @TableField(value = "validEndDate")
    @ApiModelProperty(value="有效结束日期")
    private Date validEndDate;

    /**
     * 优先级
     */
    @TableField(value = "priority")
    @ApiModelProperty(value="优先级")
    private Integer priority;

    /**
     * 创建时间
     */
    @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="数据版本")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    @ApiModelProperty(value="自定义字段1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    @ApiModelProperty(value="自定义字段2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    @ApiModelProperty(value="自定义字段3")
    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 = "processStamp")
    @ApiModelProperty(value="处理标记")
    private String processStamp;

    @TableField(value = "isVirtualBom")
    @ApiModelProperty(value="null")
    private Integer isVirtualBom;

    private static final long serialVersionUID = 1L;

    public static final String COL_COMPANYCODE = "companyCode";

    public static final String COL_WAREHOUSECODE = "warehouseCode";

    public static final String COL_MATERIALCODE = "materialCode";

    public static final String COL_MATERIALNAME = "materialName";

    public static final String COL_MATERIALSPEC = "materialSpec";

    public static final String COL_MATERIALUNIT = "materialUnit";

    public static final String COL_QTY = "qty";

    public static final String COL_ENABLE = "enable";

    public static final String COL_REVISIONNUM = "revisionNum";

    public static final String COL_BUILDINSTRUCTIONS = "buildInstructions";

    public static final String COL_BUILDLOC = "buildLoc";

    public static final String COL_VALIDFROMDATE = "validFromDate";

    public static final String COL_VALIDENDDATE = "validEndDate";

    public static final String COL_PRIORITY = "priority";

    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_PROCESSSTAMP = "processStamp";

    public static final String COL_ISVIRTUALBOM = "isVirtualBom";
}