package com.unis.crk.business.qcrk.entity;

import com.baomidou.mybatisplus.annotation.*;

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

import com.fasterxml.jackson.annotation.JsonFormat;
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 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DataCrkywTzdxxFlt001对象", description="汽车出入库-通知单从表")
@TableName("data_crkyw_tzdxx_flt_001")
public class DataCrkywTzdxxFlt001 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")
    @TableField("chID")
    private String chID;

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

    @ApiModelProperty(value = "货位ID")
    @TableField("hwID")
    private String hwID;

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

    @ApiModelProperty(value = "拟入数量")
    private Double nrsl;

    @ApiModelProperty(value = "粮油品种")
    private String grainKind;

    @ApiModelProperty(value = "明细品种")
    private String grainDetailKind;

    @ApiModelProperty(value = "粮油等级")
    private String grainGrade;

    @ApiModelProperty(value = "生产年限")
    private String grainAnnual;

    @ApiModelProperty(value = "粮油产地")
    private String grainProducingArea;

    @ApiModelProperty(value = "单价")
    private Double price;

    @ApiModelProperty(value = "数量")
    private Double count;

    @ApiModelProperty(value = "总价")
    private Double detailTotalPrice;

    @ApiModelProperty(value = "粮油性质")
    private String grainAttribute;

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

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

    @ApiModelProperty(value = "入仓时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date rcsj;

    @ApiModelProperty(value = "折损数量")
    private Double zssl;


}
