package com.shinsoft.sto.model.record;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shinsoft.generator.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

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

/**
 * 出库记录视图模型，对应 T_OUT_RECORD 表
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("T_OUT_RECORD")
@ApiModel(value = "Outrecord", description = "出库记录")
public class Outrecord extends BaseModel {

    @ApiModelProperty("入库车号")
    private String inTruckNo;

    @ApiModelProperty("入库/理货人员姓名")
    private String tallyPeople;

    @ApiModelProperty("入库时间")
    private Date inDtm;

    @ApiModelProperty("出库库房名称")
    private String outWareName;

    @ApiModelProperty("出库垛位名称")
    private String outStackName;

    @ApiModelProperty("出库层号")
    private String outLayerNo;

    @ApiModelProperty("材料号/批号")
    private String prodNo;

    @ApiModelProperty("货权公司ID")
    private String ownerCompany;

    @ApiModelProperty("收货公司ID")
    private String receivingCompany;

    @ApiModelProperty("最终客户公司ID")
    private String customerCompany;

    @ApiModelProperty("物料ID")
    private String materialId;

    @ApiModelProperty("钢种信息")
    private String stGrade;

    @ApiModelProperty("出库重量")
    private BigDecimal outWeight;

    @ApiModelProperty("出库数量")
    private BigDecimal outQuantity;

    @ApiModelProperty("出库标记0为正常在用，1为取消入库")
    private String outFlag;

    @ApiModelProperty("收货地址,空时读取客户表地址")
    private String deliveryAddress;

    @ApiModelProperty("材料属性01")
    private String attrib01;
    @ApiModelProperty("材料属性02")
    private String attrib02;
    @ApiModelProperty("材料属性03")
    private String attrib03;
    @ApiModelProperty("材料属性04")
    private String attrib04;
    @ApiModelProperty("材料属性05")
    private String attrib05;
    @ApiModelProperty("材料属性06")
    private String attrib06;
    @ApiModelProperty("材料属性07")
    private String attrib07;
    @ApiModelProperty("材料属性08")
    private String attrib08;
    @ApiModelProperty("材料属性09")
    private String attrib09;
    @ApiModelProperty("材料属性10")
    private String attrib10;
    @ApiModelProperty("材料属性11")
    private String attrib11;
    @ApiModelProperty("材料属性12")
    private String attrib12;
    @ApiModelProperty("材料属性13")
    private String attrib13;
    @ApiModelProperty("材料属性14")
    private String attrib14;
    @ApiModelProperty("材料属性15")
    private String attrib15;
    @ApiModelProperty("材料属性16")
    private String attrib16;
    @ApiModelProperty("材料属性17")
    private String attrib17;
    @ApiModelProperty("材料属性18")
    private String attrib18;
    @ApiModelProperty("材料属性19")
    private String attrib19;
    @ApiModelProperty("材料属性20")
    private String attrib20;
    @ApiModelProperty("材料属性21")
    private String attrib21;
    @ApiModelProperty("材料属性22")
    private String attrib22;
    @ApiModelProperty("材料属性23")
    private String attrib23;
    @ApiModelProperty("材料属性24")
    private String attrib24;
    @ApiModelProperty("材料属性25")
    private String attrib25;

    @ApiModelProperty("备注信息1")
    private String remark1;
    @ApiModelProperty("备注信息2")
    private String remark2;
    @ApiModelProperty("备注信息3")
    private String remark3;
    @ApiModelProperty("备注信息4")
    private String remark4;
    @ApiModelProperty("备注信息5")
    private String remark5;

    @ApiModelProperty("出库车号")
    private String outTruckNo;

    @ApiModelProperty("出库时间")
    private Date outDtm;

    @ApiModelProperty("配车单ID")
    private String distribId;

    @ApiModelProperty("出库人员id")
    private String outUserId;

    @TableField(exist = false)
    private String ownerCompanyName;

    @TableField(exist = false)
    private String receivingCompanyName;

    @TableField(exist = false)
    private String customerCompanyName;

    @TableField(exist = false)
    private String materialName;

    @TableField(exist = false)
    private String materialCode;

    @TableField(exist = false)
    private String materialStandard;

    @TableField(exist = false)
    private String materialModel;
}


