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

import com.baomidou.mybatisplus.annotation.*;

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

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="DataCrkywTzdxxDefault对象", description="汽车出入库-通用单主表")
public class DataCrkywTzdxxDefault 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("tzdID")
    private Integer tzdID;

    @ApiModelProperty(value = "客户名称")
    private String kfmc;

    @ApiModelProperty(value = "客户ID")
    @TableField("khID")
    private Integer khID;

    @ApiModelProperty(value = "合同ID")
    @TableField("htID")
    private Integer htID;

    @ApiModelProperty(value = "合同编号")
    private String htbh;

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

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

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

    @ApiModelProperty(value = "入库时间")
    private Date rksj;

    @ApiModelProperty(value = "数量(公斤)")
    private Double sl;

    @ApiModelProperty(value = "数量大写(公斤)")
    private String sldx;

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

    @ApiModelProperty(value = "粮油年期")
    private String lsnq;

    @ApiModelProperty(value = "代储费用")
    private String dcfy;

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

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

    @ApiModelProperty(value = "备注")
    private String bz;

    @ApiModelProperty(value = "容重(g/L)")
    private String rz;

    @ApiModelProperty(value = "水分(%)")
    private String sf;

    @ApiModelProperty(value = "杂质(%)")
    private String zz;

    @ApiModelProperty(value = "不完善粒(%)")
    private String bwsl;

    @ApiModelProperty(value = "开单单位")
    private String kddw;

    @ApiModelProperty(value = "开单人")
    private String kdr;

    @ApiModelProperty(value = "开单时间")
    private Date kdsj;

    @ApiModelProperty(value = "计划单ID")
    @TableField("jhdID")
    private Integer jhdID;

    @ApiModelProperty(value = "计划单编号")
    private String jhdbh;

    @ApiModelProperty(value = "仓储作业分类")
    private String cczyfl;

    @ApiModelProperty(value = "通知单状态")
    private Integer tzdzt;

    @ApiModelProperty(value = "通知单编号")
    private String tzdbh;

    @ApiModelProperty(value = "提货单编号")
    private String thdbh;

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

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

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

    @ApiModelProperty(value = "执行部门")
    private String zxbm;

    @ApiModelProperty(value = "责任保管员")
    private String zrbgy;

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

    @ApiModelProperty(value = "入库时间-02")
    private String rukushijian;

    @ApiModelProperty(value = "客户电话")
    private String slrdh;

    @ApiModelProperty(value = "客户证件号")
    private String slrsfzh;

    @ApiModelProperty(value = "客户地址")
    private String slrdz;

    @ApiModelProperty(value = "客户名称")
    private String slr;

    @ApiModelProperty(value = "开户银行名称")
    private String hhyhmc;

    @ApiModelProperty(value = "开户银行行别")
    private String hfyhhb;

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

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

    @ApiModelProperty(value = "银行卡号")
    private String yhkh;

    @ApiModelProperty(value = "计划分类")
    private String jhfl;

    @ApiModelProperty(value = "计划客户")
    private String jhkh;

    @ApiModelProperty(value = "运输方式")
    private String ysfs;

    @ApiModelProperty(value = "是否人工输入")
    private String sfrglr;

    @ApiModelProperty(value = "收款人")
    private String skr;

    @ApiModelProperty(value = "计划安排表号")
    private String jhapbh;

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

    @ApiModelProperty(value = "流程ID")
    @TableField("FLOW_ID")
    private String flowId;

    @ApiModelProperty(value = "流程状态")
    @TableField("FLOW_STATUS")
    private Integer flowStatus;

    @ApiModelProperty(value = "作业类型：粮油入库：1，粮油出库：2")
//    @TableField(exist = false)
    private Integer zylx;

    @ApiModelProperty(value = "产地中文")
    @TableField(exist = false)
    private String cdValue;

    @ApiModelProperty(value = "通知单从表信息")
    @TableField(exist = false)
    private List<DataCrkywTzdxxFlt001> fltList = new ArrayList<>();

}
