package com.shinsoft.sto.model.record;

import com.alibaba.excel.annotation.format.DateTimeFormat;
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;
import java.util.List;

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

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

    @ApiModelProperty("理货人员")
    private String tallyPeople;

    @ApiModelProperty("入库时间")
    @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
    private Date inDtm;

    @ApiModelProperty("入库库房名称")
    private String inWareName;

    @ApiModelProperty("入库垛位名称")
    private String inStackName;

    @ApiModelProperty("入库层号")
    private String inLayerNo;

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

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

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

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

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

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

    @ApiModelProperty("入库重量")
    private BigDecimal inWeight;

    @ApiModelProperty("入库数量")
    private BigDecimal inQuantity;

    @ApiModelProperty("入库标记")
    private String inFlag;

    @ApiModelProperty("收货地址")
    private String deliveryAddress;

    @ApiModelProperty("属性1")
    private String attrib01;
    @ApiModelProperty("属性1")
    private String attrib02;
    @ApiModelProperty("属性1")
    private String attrib03;
    @ApiModelProperty("属性1")
    private String attrib04;
    @ApiModelProperty("属性1")
    private String attrib05;
    @ApiModelProperty("属性1")
    private String attrib06;
    @ApiModelProperty("属性1")
    private String attrib07;
    @ApiModelProperty("属性1")
    private String attrib08;
    @ApiModelProperty("属性1")
    private String attrib09;
    @ApiModelProperty("属性1")
    private String attrib10;
    @ApiModelProperty("属性1")
    private String attrib11;
    @ApiModelProperty("属性1")
    private String attrib12;
    @ApiModelProperty("属性1")
    private String attrib13;
    @ApiModelProperty("属性1")
    private String attrib14;
    @ApiModelProperty("属性1")
    private String attrib15;
    @ApiModelProperty("属性1")
    private String attrib16;
    @ApiModelProperty("属性1")
    private String attrib17;
    @ApiModelProperty("属性1")
    private String attrib18;
    @ApiModelProperty("属性1")
    private String attrib19;
    @ApiModelProperty("属性1")
    private String attrib20;
    @ApiModelProperty("属性1")
    private String attrib21;
    @ApiModelProperty("属性1")
    private String attrib22;
    @ApiModelProperty("属性1")
    private String attrib23;
    @ApiModelProperty("属性1")
    private String attrib24;
    @ApiModelProperty("属性")
    private String attrib25;

    @ApiModelProperty("备注1")
    @TableField("REMARK_1")
    private String remark1;
    @ApiModelProperty("备注2")
    @TableField("REMARK_2")
    private String remark2;
    @ApiModelProperty("备注3")
    @TableField("REMARK_3")
    private String remark3;
    @ApiModelProperty("备注4")
    @TableField("REMARK_4")
    private String remark4;
    @ApiModelProperty("备注5")
    @TableField("REMARK_5")
    private String remark5;

    @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;

    @TableField(exist = false)
    private String orderNo;

    @TableField(exist = false)
    private String contractNo;

    @TableField(exist = false)
    private String carNo;

    @TableField(exist = false)
    private List<String> stGrades;

    @TableField(exist = false)
    private String specification;

    @TableField(exist = false)
    private String placeOfOrigin;

    @TableField(exist = false)
    private String inUserName;

    @TableField(exist = false)
    private String bundleNumber;

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


