package com.prolog.cs.biz.outbound.model.entity;

import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Ignore;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @Description  
 * @Date 2021-03-25 
 */
@Data
@ApiModel
@Table ( value ="oms_do_bill_d" , appendDefaultJdbcType = true, camelToUnderline = true)
public class OmsDoBillDDO implements Serializable {
	private static final long serialVersionUID =  3170912106935625403L;
	@Id
	@ApiModelProperty(value = "交货单明细表ID") 
	@Column(value = "lineid")
	private String lineid;

	@ApiModelProperty(value = "明细行号") 
	@Column(value = "seqno")
	private String seqno;

	@ApiModelProperty(value = "交货单表ID") 
	@Column(value = "billid")
	private String billid;

	@ApiModelProperty(value = "交货单号") 
	@Column(value = "billno")
	private String billno;

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

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

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

	@ApiModelProperty(value = "出库仓库库区ID") 
	@Column(value = "branchareaid")
	private String branchareaid;

	@ApiModelProperty(value = "出库仓库库区") 
	@Column(value = "brancharea")
	private String brancharea;

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

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

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

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

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

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

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

	@ApiModelProperty(value = "商品大类编码") 
	@Column(value = "type_code")
	private String typeCode;

	@ApiModelProperty(value = "商品大类名称") 
	@Column(value = "type_name")
	private String typeName;

	@ApiModelProperty(value = "商品规格") 
	@Column(value = "item_specs")
	private String itemSpecs;

	@ApiModelProperty(value = "尺寸") 
	@Column(value = "size_code")
	private String sizeCode;

	@ApiModelProperty(value = "颜色") 
	@Column(value = "color_code")
	private String colorCode;

	@ApiModelProperty(value = "版本") 
	@Column(value = "revision")
	private String revision;

	@ApiModelProperty(value = "加工类型") 
	@Column(value = "mach_type")
	private String machType;

	@ApiModelProperty(value = "供应商商品编号") 
	@Column(value = "vendor_itemcode")
	private String vendorItemcode;

	@ApiModelProperty(value = "包装数量") 
	@Column(value = "pack_type_num")
	private BigDecimal packTypeNum;

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

	@ApiModelProperty(value = "件数") 
	@Column(value = "item_pcs")
	private BigDecimal itemPcs;

	@ApiModelProperty(value = "零数") 
	@Column(value = "item_odd")
	private BigDecimal itemOdd;

	@ApiModelProperty(value = "数量") 
	@Column(value = "item_qty")
	private BigDecimal itemQty;

	@ApiModelProperty(value = "冲红数量")
	@Column(value = "red_qty")
	private BigDecimal redQty;

	@ApiModelProperty(value = "发货数量")
	@Column(value = "delivery_qty")
	private BigDecimal deliveryQty;

	@ApiModelProperty(value = "赠品数量") 
	@Column(value = "free_qty")
	private BigDecimal freeQty;

	@ApiModelProperty(value = "重量") 
	@Column(value = "item_weight")
	private BigDecimal itemWeight;

	@ApiModelProperty(value = "体积") 
	@Column(value = "item_volume")
	private BigDecimal itemVolume;

	@ApiModelProperty(value = "含税单价") 
	@Column(value = "price")
	private BigDecimal price;

	@ApiModelProperty(value = "未税单价") 
	@Column(value = "tni_price")
	private BigDecimal tniPrice;

	@ApiModelProperty(value = "含税金额") 
	@Column(value = "amt")
	private BigDecimal amt;

	@ApiModelProperty(value = "未税金额") 
	@Column(value = "tni_amt")
	private BigDecimal tniAmt;

	@ApiModelProperty(value = "折后单价")
	@Column(value = "discount_price")
	private BigDecimal discountPrice;

	@ApiModelProperty(value = "折后金额")
	@Column(value = "discount_amt")
	private BigDecimal discountAmt;


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

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

	@ApiModelProperty(value = "生产日期") 
	@Column(value = "pdate_from")
	private String pdateFrom;

	@ApiModelProperty(value = "有效期至") 
	@Column(value = "valid_until")
	private String validUntil;

	@ApiModelProperty(value = "批准文号") 
	@Column(value = "approval_number")
	private String approvalNumber;

	@ApiModelProperty(value = "产地") 
	@Column(value = "production_place")
	private String productionPlace;

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

	@ApiModelProperty(value = "作废原因") 
	@Column(value = "closed_reason")
	private String closedReason;

	@ApiModelProperty(value = "状态") 
	@Column(value = "status")
	private String status;

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

	@ApiModelProperty(value = "是否赠品")
	@Column(value = "attr_str2")
	private String attrStr2;

	@ApiModelProperty(value = "首营资料打印次数")
	@Column(value = "attr_str3")
	private String attrStr3;

	@ApiModelProperty(value = "质检报告打印次数")
	@Column(value = "attr_str4")
	private String attrStr4;

	@ApiModelProperty(value = "包装单位")
	@Column(value = "attr_str5")
	private String attrStr5;

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

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

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

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

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

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

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

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

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

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

	@ApiModelProperty(value = "日期属性扩展1") 
	@Column(value = "attr_dte1")
	private Date attrDte1;

	@ApiModelProperty(value = "日期属性扩展2") 
	@Column(value = "attr_dte2")
	private Date attrDte2;

	@ApiModelProperty(value = "日期属性扩展3") 
	@Column(value = "attr_dte3")
	private Date attrDte3;

	@ApiModelProperty(value = "日期属性扩展4") 
	@Column(value = "attr_dte4")
	private Date attrDte4;

	@ApiModelProperty(value = "日期属性扩展5") 
	@Column(value = "attr_dte5")
	private Date attrDte5;

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

	@ApiModelProperty(value = "录入时间") 
	@Column(value = "createdate")
	private Date createdate;

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

	@ApiModelProperty(value = "修改时间") 
	@Column(value = "lastmodifydate")
	private Date lastmodifydate;

	@ApiModelProperty(value = "企业ID") 
	@Column(value = "p_enterpriseid")
	private String enterpriseId;

	@ApiModelProperty(value = "企业名称") 
	@Column(value = "p_enterprisename")
	private String enterpriseName;

	@ApiModelProperty(value = "库存状态")
	@Column(value = "STOCKSTATUS")
	private String stockStatus;

	@ApiModelProperty(value = "货位")
	@Column(value = "locator_id")
	private String locatorId;

	@ApiModelProperty(value = "货位")
	@Column(value = "container_code")
	private String containerCode;

	@Column(value = "BATCH_LIMIT")
	private Integer batchLimit;

	@ApiModelProperty(value = "灭菌批号")
	@Column(value = "STERILIZATION_LOTNO")
	private String sterilizationLotno;

	@ApiModelProperty(value = "灭菌时间")
	@Column(value = "sterilization_date")
	private Date sterilizationDate;

	@ApiModelProperty(value = "未处理数量")
	@Ignore
	private BigDecimal pieceQty;

	@ApiModelProperty("整散标记(?到仓库 ,不能为通用属性 01整散合一/02整散分开)")
	@Ignore
	private Integer isCaseOrPiece;

	@ApiModelProperty("明细id")
	@Ignore
	private String billDId;

	@ApiModelProperty(value = "当前页码")
	@Ignore
	private Integer pageSize;

	@ApiModelProperty(value = "每页数量")
	@Ignore
	private Integer pageNum;

	@ApiModelProperty(value = "库存状态展示值")
	@Ignore
	private String stockStatusName;

	@ApiModelProperty(value = "修改时间")
	@Ignore
	private String lastmodifydateStr;

	@ApiModelProperty(value = "录入时间")
	@Ignore
	private String createdateStr;

	@ApiModelProperty(value = "有效期至")
	@Ignore
	private String validUntilStr;

	@ApiModelProperty(value = "生产日期")
	@Ignore
	private String dateFromStr;

	@Ignore
	@ApiModelProperty(value = "上市许可持有人")
	private String itemHealthListedLicensor;

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

	@Ignore
	@ApiModelProperty(value = "是否监管")
	private Integer itemHealthSuperviseflag;

	@Ignore
	@ApiModelProperty("是否贵重商品")
	private Integer itemIsValuable;

	@Ignore
	@ApiModelProperty(value = "易碎标志")
	private Integer itemIsFragile;

	@Ignore
	@ApiModelProperty(value = "是否无菌(0否1是)")
	private Integer isBacteria;

	@Ignore
	@ApiModelProperty(value = "是否委托生产")
	private Integer isDelegate;

	@Ignore
	@ApiModelProperty(value = "商品是否代管(0否1是) 默认0")
	private Integer isHosted;

	@Ignore
	@ApiModelProperty(value = "助记码")
	private String itemAssistantCode;

	@Ignore
	@ApiModelProperty(value = "货主编码")
	private String cargoOwnerCode;

	@Ignore
	@ApiModelProperty(value = "双人业务类型(0:正常 1：双人验收，默认正常)")
	private Integer itemHealthIsDouble;
}
