package com.unis.crk.cplbusiness.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成品粮库存变动
 * </p>
 *
 * @author TangSong
 * @since 2022-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DataKcglCplkcbdDefault对象", description="成品粮库存变动")
public class DataKcglCplkcbdDefault implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "dataId", type = IdType.UUID)
    private String dataId;

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

    @ApiModelProperty(value = "站点名称")
    private String zdmc;

    @ApiModelProperty(value = "站点编码")
    private String zdbm;

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

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

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

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

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


    @ApiModelProperty(value = "编辑人")
    private String editor;

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

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

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

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

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

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

    @ApiModelProperty(value = "变动后性质")
    private String bdhxz;

    @ApiModelProperty(value = "部门id")
    @TableField("deptId")
    private String deptId;

    @ApiModelProperty(value = "实际军粮品种名称")
    private String sjjlpzmc;

    @ApiModelProperty(value = "实际军粮品种编号")
    private String sjjlpzbh;

    @ApiModelProperty(value = "实际军粮品牌名称")
    private String sjjlppmc;

    @ApiModelProperty(value = "实际军粮品牌编号")
    private String sjjlppbh;

    @ApiModelProperty(value = "实际军粮等级编号")
    private String sjjldjbh;

    @ApiModelProperty(value = "实际军粮等级名称")
    private String sjjldjmc;

    @ApiModelProperty(value = "实际军粮商品名称")
    private String sjjlspmc;

    @ApiModelProperty(value = "实际军粮商品名称编号")
    private String sjjlspmcbh;

    @ApiModelProperty(value = "变动单号")
    private String bddh;

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

    @ApiModelProperty(value = "变动数量")
    private Double bdsl;

    @ApiModelProperty(value = "变动方式")
    private String bdfs;

    @ApiModelProperty(value = "保管员")
    private String bgy;

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

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

    @ApiModelProperty(value = "变动前数量")
    private Double bdqsl;

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

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


    @ApiModelProperty(value = "变动件数")
    private Double bdjs;

    @ApiModelProperty(value = "变动后数量")
    private Double bdhsl;

    @ApiModelProperty(value = "移入仓号ID")
    private String yrch;

    @ApiModelProperty(value = "移入货位号ID")
    private String yrhwh;

    @ApiModelProperty(value = "移入仓房名称")
    private String yrchmc;

    @ApiModelProperty(value = "移入货位名称")
    private String yrhwmc;

    @ApiModelProperty(value = "移入仓房保管员")
    private String yrcfbgy;

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

    @ApiModelProperty(value = "移入仓前数量")
    private Double yrcqsl;

    @ApiModelProperty(value = "移入仓后数量")
    private Double yrchsl;

    @ApiModelProperty(value = "变动前件数")
    private Double bdqjs;
    @ApiModelProperty(value = "变动后件数")
    private Double bdhjs;
    @ApiModelProperty(value = "移入仓前件数")
    private Double yrcqjs;

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

    @ApiModelProperty(value = "移后仓后件数")
    private Double yrchjs;
    @ApiModelProperty(value = "变动金额")
    private Double bdje;

    @ApiModelProperty(value = "业务时间")
    private Date ywsj;

    @ApiModelProperty(value = "备注")
    private String bz;
    @ApiModelProperty(value = "单价")
    private String dj;
    @ApiModelProperty(value = "是否暂存 0是 1否")
    private String isstaging;
}
