SrmDetail.java 5.15 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 com.huaheng.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *   送货单明细
 *
 */
@Data
@TableName(value = "srmdetail")
public class SrmDetail
{
    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;
    /**
     * headerId
     */
    @TableField(value = "headerId")
    @ApiModelProperty(value = "仓库号")
    private Integer headerId;

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


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


    /**
     * 行号
     */
    @TableField(value = "lineCode")
    @ApiModelProperty(value = "行号")
    private String lineCode;

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

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

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

    /**
     * 单据数量
     */
    @TableField(value = "qty")
    @ApiModelProperty(value="单据数量")
    private BigDecimal qty;


    /**
     * 实到数量
     */
    @TableField(value = "confirmQty")
    @ApiModelProperty(value = "实到数量")
    private BigDecimal confirmQty;


    /**
     * 合格数量
     */
    @TableField(value = "qualifiedQty")
    @ApiModelProperty(value = "合格数量")
    private BigDecimal qualifiedQty;


    /**
     * 不合格数量
     */
    @TableField(value = "unqualifiedQty")
    @ApiModelProperty(value = "不合格数量")
    private BigDecimal unqualifiedQty;


    /**
     * 不合格原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value="不合格原因")
    private String reason;


    /**
     * 操作人
     */
    @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 = "checkUser")
    @ApiModelProperty(value = "检验人员")
    private String checkUser;


    /**
     * 检验时间
     */
    @TableField(value = "checkTime")
    @ApiModelProperty(value = "检验时间")
    private Date checkTime;

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


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


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

    /**
     *  SRM到货上传 0未上传 1成功 2失败
     */
    @TableField(value = "uploadStatus1")
    @ApiModelProperty(value = "SRM到货上传")
    private Integer uploadStatus1;

    /**
     *  SRM质检上传 0未上传 1成功 2失败
     */
    @TableField(value = "uploadStatus2")
    @ApiModelProperty(value = "SRM质检上传")
    private Integer uploadStatus2;

    /**
     *  SRM入库上传 沒用
     */
    @TableField(value = "uploadStatus3")
    @ApiModelProperty(value = "SRM入库上传")
    private Integer uploadStatus3;

    /**
     *  ERP到货上传  0未上传 1成功 2失败
     */
    @TableField(value = "uploadStatus4")
    @ApiModelProperty(value = "ERP到货上传")
    private Integer uploadStatus4;

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

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

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

    @TableField(exist = false)
    @ApiModelProperty(value = "")
    private String companyName;

    @TableField(exist = false)
    @ApiModelProperty(value = "")
    private String uWarehouseName;


}