package com.prolog.cs.base.gsp.model;

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 2022-05-26
 */

@ApiModel
@Table (value ="dxi_gsp_quality_review_d")
@Data
public class DxiGspQualityReviewD implements Serializable {


	private static final long serialVersionUID = 1139987853932586366L;

	@Id
	@ApiModelProperty(value = "对接单据行号")
	@Column(value = "lineid")
	private String lineid;


	@ApiModelProperty(value = "单据ID")
	@Column(value = "billid")
	private String billid;

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

	@ApiModelProperty(value = "申请复查行id")
	@Column(value = "request_lineid")
	private String requestLineid;

	@ApiModelProperty(value = "对接单据行号")
	@Column(value = "seqno")
	private String seqno;

	@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 = "item_specs")
	private String itemSpecs;

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

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

	@ApiModelProperty(value = "包装数量")
	@Column(value = "pack_size")
	private String packSize;

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

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

	@ApiModelProperty(value = "备案凭证号")
	@Column(value = "paper_no")
	private String paperNo;

	@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 = "qty")
	private String qty;

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

	@ApiModelProperty(value = "质量主管")
	@Column(value = "audit_director")
	private String auditDirector;

	@ApiModelProperty(value = "主管审核结论")
	@Column(value = "audit_staus_director")
	private String auditStausDirector;

	@ApiModelProperty(value = "主管审核意见  10初始  20合格  30不合格  40待处理")
	@Column(value = "audit_text_director")
	private String auditTextDirector;

	@ApiModelProperty(value = "主管审核日期")
	@Column(value = "audit_date_director")
	private Date auditDateDirector;

	@ApiModelProperty(value = "质量经理")
	@Column(value = "audit_manager")
	private String auditManager;

	@ApiModelProperty(value = "经理审核结论 10初始  20合格 30不合格")
	@Column(value = "audit_staus_manager")
	private String auditStausManager;

	@ApiModelProperty(value = "经理审核意见")
	@Column(value = "audit_text_manager")
	private String auditTextManager;

	@ApiModelProperty(value = "经理审核日期")
	@Column(value = "audit_date_manager")
	private Date auditDateManager;

	@ApiModelProperty(value = "最终审核结论  10初始  20合格 30不合格")
	@Column(value = "end_status")
	private String endStatus;

	@ApiModelProperty(value = "不合格数量")
	@Column(value = "review_qty")
	private String reviewQty;

	@ApiModelProperty(value = "不合格移库完成数量")
	@Column(value = "review_moved_qty")
	private String reviewMovedQty;

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

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

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

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

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

	@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 = "接口回传OMS状态N:未处理  E:处理异常  Y:处理完成")
	@Column(value = "INF_STATUS")
	private String infStatus;


	@ApiModelProperty(value = "商品大类")
	@Ignore
	private String itemHealthCategory;

	@ApiModelProperty(value = "剂型")
	@Ignore
	private String itemHealthType;

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

	@Ignore
	@ApiModelProperty(hidden =true,value = "库存数量")
	private BigDecimal stockQty;

	@Ignore
	@ApiModelProperty(hidden =true,value = "库存件数")
	private BigDecimal caseQuantity;
	@Ignore
	@ApiModelProperty(hidden =true,value = "库存零散数")
	private BigDecimal oddPieceQuantity;


	@Ignore
	@ApiModelProperty(value = "单据来源类型")
	private String refBilltype;

	@Ignore
	@ApiModelProperty(value = "申请复查单据类别")
	private String requestBilltype;

	@Ignore
	@ApiModelProperty(value = "操作人")
	private String operator;

	@Ignore
	@ApiModelProperty(value = "发起申请日期")
	private Date billDate;

	@Ignore
	@ApiModelProperty(value = "复查原因")
	private String reviewReason;

}
