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_d", appendDefaultJdbcType = true, camelToUnderline = true)
@Data
public class ReceivingRecordBackD implements Serializable {
	private static final long serialVersionUID = 50135163699565532L;

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

	@ApiModelProperty(value = "收货单ID")
	private String billid;

	@ApiModelProperty(value = "收货单编码")
	private String billno;

	@ApiModelProperty(value = "收货单行号")
	private String seqno;

	@ApiModelProperty(value = "关联业务单据类型")
	private String refBilltype;

	@ApiModelProperty(value = "关联入库单ID")
	private String refBillid;

	@ApiModelProperty(value = "关联入库单号")
	private String refBillno;

	@ApiModelProperty(value = "关联入库单行号")
	private String refSeqno;

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

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

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

	@ApiModelProperty(value = "商品ID")
	private String itemid;

	@ApiModelProperty(value = "商品编码")
	private String itemcode;

	@ApiModelProperty(value = "商品名称")
	private String itemname;

	@ApiModelProperty(value = "父商品ID")
	private String parerntItemid;

	@ApiModelProperty(value = "商品规格")
	private String categoryId;

	@ApiModelProperty(value = "包装数量")
	private BigDecimal packSize;

	@ApiModelProperty(value = "包装单位")
	private String packUnits;

	@ApiModelProperty(value = "批号")
	private String lotNo;

	@ApiModelProperty(value = "批次号")
	private String batchNo;

	@ApiModelProperty(value = "生产日期")
	private Date pdateFrom;

	@ApiModelProperty(value = "有效期至")
	private Date validUntil;

	@ApiModelProperty(value = "生产厂家")
	private String manufacturer;

	@ApiModelProperty(value = "整件数")
	private BigDecimal affirmedPcs;

	@ApiModelProperty(value = "零散数")
	private BigDecimal affirmedOdd;

	@ApiModelProperty(value = "赠品数量")
	private BigDecimal affirmedFreeqty;

	@ApiModelProperty(value = "数量")
	private BigDecimal affirmedQty;

	@ApiModelProperty(value = "重量")
	private BigDecimal affirmedWeight;

	@ApiModelProperty(value = "体积")
	private BigDecimal affirmedVolume;

	@ApiModelProperty(value = "发运地点")
	private String shipmentPlace;

	@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 = "创建人")
	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 = "库存状态")
	private String stockstatus;

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

	@ApiModelProperty(value = "温控方式")
	private String temperaturecType;

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

	@ApiModelProperty(value = "到货温度")
	private BigDecimal shipArriveTemPerature;

	@ApiModelProperty(value = "温控状态")
	private String tempcinfo;

	@ApiModelProperty(value = "运输单位")
	private String carriername;

	@ApiModelProperty(value = "注册证号")
	private String itemHealthRegisterNbr;

	@ApiModelProperty(value = "进口注册证号")
	private String itemHealthRegisterNbrEn;

	@ApiModelProperty(value = "批准文号")
	private String itemHealthApprovalNbr;

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

	@ApiModelProperty(value = "灭菌时间")
	private Date sterilizeexpdate;

	@ApiModelProperty(value = "灭菌批号")
	private String sterilizesno;

	@ApiModelProperty(value = "承运方")
	private String carrierUnit;

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