package com.prolog.cs.biz.inbound.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description
 * @Date 2021-11-19
 */

@ApiModel
@Table(value = "receiving_record_back_h", appendDefaultJdbcType = true, camelToUnderline = true)
@Data
public class ReceivingRecordBackH implements Serializable {
	private static final long serialVersionUID = 5958305350431815211L;

	@ApiModelProperty(value = "ID标识")
	private String billid;

	@ApiModelProperty(value = "入库单号")
	private String billno;

	@ApiModelProperty(value = "入库单类型")
	private String billtype;

	@ApiModelProperty(value = "仓库ID")
	private String branchid;

	@ApiModelProperty(value = "仓库编号")
	private String branchcode;

	@ApiModelProperty(value = "仓库名称")
	private String branchname;

	@ApiModelProperty(value = "货主ID")
	private String consignorid;

	@ApiModelProperty(value = "货主据号")
	private String consignorcode;

	@ApiModelProperty(value = "货主名称")
	private String consignorname;

	@ApiModelProperty(value = "货主单据号")
	private String consignorBillNo;

	@ApiModelProperty(value = "单据类型区分")
	private String billtypeStyle;

	@ApiModelProperty(value = "业务部门编号")
	private String purorgId;

	@ApiModelProperty(value = "业务部门名称")
	private String purorgName;

	@ApiModelProperty(value = "采购员ID")
	private String buyerId;

	@ApiModelProperty(value = "采购员姓名")
	private String buyerName;

	@ApiModelProperty(value = "发货单位类型")
	private String shipperType;

	@ApiModelProperty(value = "发货单位ID")
	private String shipperid;

	@ApiModelProperty(value = "发货单位编号")
	private String shippercode;

	@ApiModelProperty(value = "发货单位名称")
	private String shippername;

	@ApiModelProperty(value = "收货地址")
	private String arriveAddress;

	@ApiModelProperty(value = "关联采购单号")
	private String refbillno;

	@ApiModelProperty(value = "制单日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date operatedate;

	@ApiModelProperty(value = "收货员1")
	private String rcvoperator;

	@ApiModelProperty(value = "收货员2")
	private String rcvoperator2;

	@ApiModelProperty(value = "收货时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date rcvdate;

	@ApiModelProperty(value = "到货方式")
	private String arrivalMode;

	@ApiModelProperty(value = "字符扩展属性1")
	private String attrStr1;

	@ApiModelProperty(value = "字符扩展属性2")
	private String attrStr2;

	@ApiModelProperty(value = "字符扩展属性3")
	private String attrStr3;

	@ApiModelProperty(value = "字符扩展属性4")
	private String attrStr4;

	@ApiModelProperty(value = "字符扩展属性5")
	private String attrStr5;

	@ApiModelProperty(value = "字符扩展属性6")
	private String attrStr6;

	@ApiModelProperty(value = "字符扩展属性7")
	private String attrStr7;

	@ApiModelProperty(value = "字符扩展属性8")
	private String attrStr8;

	@ApiModelProperty(value = "字符扩展属性9")
	private String attrStr9;

	@ApiModelProperty(value = "字符扩展属性10")
	private String attrStr10;

	@ApiModelProperty(value = "数字扩展属性1")
	private BigDecimal attrNum1;

	@ApiModelProperty(value = "数字扩展属性2")
	private BigDecimal attrNum2;

	@ApiModelProperty(value = "数字扩展属性3")
	private BigDecimal attrNum3;

	@ApiModelProperty(value = "数字扩展属性4")
	private BigDecimal attrNum4;

	@ApiModelProperty(value = "数字扩展属性5")
	private BigDecimal attrNum5;

	@ApiModelProperty(value = "日期属性扩展1")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date attrDte1;

	@ApiModelProperty(value = "日期属性扩展2")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date attrDte2;

	@ApiModelProperty(value = "日期属性扩展3")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date attrDte3;

	@ApiModelProperty(value = "日期属性扩展4")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date attrDte4;

	@ApiModelProperty(value = "日期属性扩展5")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date attrDte5;

	@ApiModelProperty(value = "录入员")
	private String createby;

	@ApiModelProperty(value = "录入时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createdate;

	@ApiModelProperty(value = "修改人")
	private String lastmodifyby;

	@ApiModelProperty(value = "修改时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date lastmodifydate;

	@ApiModelProperty(value = "企业ID")
	private String pEnterpriseid;

	@ApiModelProperty(value = "企业名称")
	private String pEnterprisename;

	@ApiModelProperty(value = "数据来源(1ERP 2OMS 3WMS 4SAP)")
	private String datasource;

	@ApiModelProperty(value = "类型")
	private String type;

	@ApiModelProperty(value = "上传状态（0：否，1：是）")
	private String uploadStatus;

	@ApiModelProperty(value = "单据日期")
	private Date billdate;

	@ApiModelProperty(value = "验收关联收货单号")
	private String glBillno;

//	@ApiModelProperty(value = "到货单据编号 refbillno")
//	private String arrivalBillno;
//
//	@ApiModelProperty(value = "收货时间 rcvdate")
//	private Date shipmentDate;
}
