SrmHeader.java 3.36 KB
package com.huaheng.pc.srm.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.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 送货单主表
 */
@Data
@TableName(value = "srmheader")
public class SrmHeader implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "入库明细内部号")
    private Integer id;

    @TableField(value = "warehouseCode")
    @ApiModelProperty(value = "仓库号")
    private String warehouseCode;

    /**
     * 送货单号
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "送货单号")
    private String code;
    /**
     * 采购单号
     */
    @TableField(value = "purchaseCode")
    @ApiModelProperty(value="采购单号")
    private String purchaseCode;

    /**
     * 唯一标识
     */
    @TableField(value = "mark")
    @ApiModelProperty(value = "唯一标识")
    private String mark;

    /**
     * 供应商编码
     */
    @TableField(value = "supplierCode")
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    /**
     * 操作人
     */
    @TableField(value = "operator")
    @ApiModelProperty(value = "操作人")
    private String operator;


    /**
     * 操作时间
     */
    @TableField(value = "operatorTime")
    @ApiModelProperty(value = "操作时间")
    private Date operatorTime;


    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ApiModelProperty(value = "创建时间")
    private Date created;


    /**
     * 修改人
     */
    @TableField(value = "lastUpdateBy")
    @ApiModelProperty(value = "修改人")
    private String lastUpdateBy;


    /**
     * 修改时间
     */
    @TableField(value = "lastUpdate")
    @ApiModelProperty(value = "修改时间")
    private Date lastUpdate;


    /**
     * 是否显示
     */
    @TableField(value = "enable")
    @ApiModelProperty(value = "是否显示")
    private Integer enable;


    /**
     * 是否质检 1质检中,2质检完成
     */
    @TableField(value = "checkCode")
    @ApiModelProperty(value = "是否质检")
    private Integer checkCode;

    /**
     * 是否上传 1上传erp,2失败
     */
    @TableField(value = "uploadStatus")
    @ApiModelProperty(value = "是否上传")
    private Integer uploadStatus;

    @TableField(value = "userDef1")
    @ApiModelProperty(value = "")
    private String userDef1;

    /**
     * t100收货单号,用英文逗号隔开
     */
    @TableField(value = "userDef2")
    @ApiModelProperty(value = "")
    private String userDef2;

    @TableField(exist = false)
    private String materialCode;

    @TableField(exist = false)
    private String productionBatch;
    /**
     *质检合格状态,0默认合格,1不合格
     */
    @TableField(value = "quatityStatus")
    @ApiModelProperty(value = "质检合格状态")
    private Integer quatityStatus;
    /**
     * 入库收货状态,0默认,1已入库完成
     */
    @TableField(value = "receiptStatus")
    @ApiModelProperty(value = "入库状态")
    private Integer receiptStatus;

}