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.util.Date;

/**
 * @Description  
 * @Date 2021-05-10 
 */

@Data
@ApiModel
@Table ( value ="gsp_unqualified_destroy_d" )
public class GspUnqualifiedDestroyD implements Serializable {
	private static final long serialVersionUID =  195645956853206383L;
	
	@Id
	@ApiModelProperty(value = "行ID") 
	@Column(value = "id")
	private String id;

	@ApiModelProperty(value = "code")
	@Column(value = "code")
	private String code;

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

	@ApiModelProperty(value = "单据编号") 
	@Column(value = "destroy_code")
	private String destroyCode;

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

	@ApiModelProperty(value = "仓配中心ID") 
	@Column(value = "dc_id")
	private String dcId;

	@ApiModelProperty(value = "仓ID") 
	@Column(value = "warehouse_id")
	private String warehouseId;

	@ApiModelProperty(value = "货主id") 
	@Column(value = "cargo_owner_id")
	private String cargoOwnerId;

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

	@ApiModelProperty(value = "货位编号") 
	@Column(value = "locator_code")
	private String locatorCode;

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

	@ApiModelProperty(value = "商品编号") 
	@Column(value = "item_code")
	private String itemCode;

	@ApiModelProperty(value = "批号") 
	@Column(value = "lot_num")
	private String lotNum;

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

	@ApiModelProperty(value = "不合格原因") 
	@Column(value = "unqualified_reason")
	private String unqualifiedReason;

	@ApiModelProperty(value = "质量情况反映") 
	@Column(value = "quality_status")
	private String qualityStatus;

	@ApiModelProperty(value = "意见") 
	@Column(value = "opinion")
	private String opinion;

	@ApiModelProperty(value = "关联单ID") 
	@Column(value = "ref_bill_id")
	private String refBillId;
	
	@ApiModelProperty(value = "关联行ID") 
	@Column(value = "REF_LINE_ID")
	private String refLineId;

	@ApiModelProperty(value = "状态10初始，20已审批") 
	@Column(value = "status")
	private String status;

	@ApiModelProperty(value = "销毁数量") 
	@Column(value = "destroy_qty")
	private String destroyQty;

	@ApiModelProperty(value = "创建日期") 
	@Column(value = "gmt_create")
	private Date gmtCreate;

	@ApiModelProperty(value = "创建人") 
	@Column(value = "creator")
	private String creator;

	@ApiModelProperty(value = "创建人") 
	@Column(value = "creator_name")
	private String creatorName;

	@ApiModelProperty(value = "最后修改日期") 
	@Column(value = "gmt_modified")
	private Date gmtModified;

	@ApiModelProperty(value = "最后修改人") 
	@Column(value = "modifier")
	private String modifier;

	@ApiModelProperty(value = "最后修改人") 
	@Column(value = "modifier_name")
	private String modifierName;

	@ApiModelProperty(value = "备注") 
	@Column(value = "remark")
	private String remark;
	
	@ApiModelProperty(value = "报损数量") 
	@Column(value = "loss_qty")
	private String lossQty;

	@ApiModelProperty(value = "批次")
	@Column(value = "batch_id")
	private String batchId;

    @Ignore
	@ApiModelProperty(value = "已申请销毁数量")
	private String destroyingQty;

}
