package com.unis.crk.cplbusiness.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 汽车出入库-通知单从表
 * </p>
 *
 * @author TangSong
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DataCrkywCpltzdxxFlt001对象", description="成品粮出入库-通知单从表")
@TableName(value = "data_crkyw_cpltzdxx_flt_001")
public class DataCrkywCpltzdxxFlt001 implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "数据记录ID")
    @TableId(value = "DataID", type = IdType.UUID)
    private String DataID;

    @ApiModelProperty(value = "单位ID")
    @TableField("UnitID")
    private String UnitID;

    @ApiModelProperty(value = "期间ID")
    @TableField("PeriodID")
    private String PeriodID;

    @ApiModelProperty(value = "舍位ID")
    @TableField("RoundID")
    private Integer RoundID;

    @ApiModelProperty(value = "最后一次编辑时间")
    @TableField(value = "ModifyDate",fill = FieldFill.INSERT_UPDATE)
    private Date ModifyDate;

    @ApiModelProperty(value = "条目创建人")
    private String builder;

    @ApiModelProperty(value = "数据上传时间")
    @TableField(value = "UPDATE_TIME",strategy = FieldStrategy.IGNORED,update = "null",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "部门ID")
    @TableField("DeptID")
    private String DeptID;

    @ApiModelProperty(value = "样式id")
    @TableField("SytelInfoID")
    private String SytelInfoID;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "BuildDate",fill = FieldFill.INSERT)
    private Date BuildDate;

    @ApiModelProperty(value = "修改人")
    private String editor;

    @ApiModelProperty(value = "主表数据记录ID")
    @TableField("MainDataID")
    private String MainDataID;

    @ApiModelProperty(value = "仓号id")
    private String ch;

    @ApiModelProperty(value = "仓号名称")
    private String chmc;

    @ApiModelProperty(value = "货位号ID")
    private String hwh;

    @ApiModelProperty(value = "货位号名称")
    private String hwhmc;


    @ApiModelProperty(value = "回笼标识")
    private Integer hlbs;

    @ApiModelProperty(value = "实际出库时间")
    private Date sjcksj;

    @ApiModelProperty(value = "生产批次")
    private String scpc;

    @ApiModelProperty(value = "保质期")
    private String bzq;

    @ApiModelProperty(value = "订单数量")
    private Double sl;

    @ApiModelProperty(value = "从表完成数量")
    private Double wcsl;

    @ApiModelProperty(value = "从表剩余数量")
    private Double sysl;

    @ApiModelProperty(value = "金额")
    private Double je;

    @ApiModelProperty(value = "件数")
    private Double js;

    @ApiModelProperty(value = "单价(元/公斤)")
    private Double dj;

    @ApiModelProperty(value = "商品名称")
    private String mxpzmc;

    @ApiModelProperty(value = "商品名称编号")
    private String mxpz;

    @ApiModelProperty(value = "品种名称")
    private String lspzmc;

    @ApiModelProperty(value = "品种")
    private String lspz;


    @ApiModelProperty(value = "性质")
    private String xz;


    @ApiModelProperty(value = "品牌名称")
    private String sjjlppmc;

    @ApiModelProperty(value = "品牌编号")
    private String sjjlppmcbh;

    @ApiModelProperty(value = "检验结果")
    private String jyjg;

    @ApiModelProperty(value = "生产年份")
    private String scnf;

    @ApiModelProperty(value = "产地")
    private String cd;


    @ApiModelProperty(value = "规格")
    private String gg;

    @ApiModelProperty(value = "等级")
    @TableField("lsdj")
    private String lsdj;

    @ApiModelProperty(value = "计量单位")
    private String jldw;



    @ApiModelProperty(value = "生产日期")
    private Date scrq;


    @ApiModelProperty(value = "生产年份名称")
    @TableField(exist = false)
    private String scnfmc;

    @ApiModelProperty(value = "产地名称")
    @TableField(exist = false)
    private String cdmc;

    @ApiModelProperty(value = "性质名称")
    @TableField(exist = false)
    private String xzmc;

    @ApiModelProperty(value = "等级名称")
    @TableField(exist = false)
    private String lsdjmc;

    @ApiModelProperty(value = "计量单位名称")
    @TableField(exist = false)
    private String jldwmc;


    @ApiModelProperty(value = "是含税 0是 1否")
    private String istax;

    @ApiModelProperty(value = "税率")
    private Double taxrate;

}
