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

import com.prolog.framework.core.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

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

@Data
@ApiModel
@Table ( value ="gsp_unqualified_destroy" )
public class GspUnqualifiedDestroy implements Serializable {
	private static final long serialVersionUID =  4460460597628829391L;
	
	@Id
	@ApiModelProperty(value = "单据ID") 
	@Column(value = "id")
	private String id;

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

	@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;
	
	@Ignore
	private String warehouseName;

	@ApiModelProperty(value = "货主id") 
	@Column(value = "cargo_owner_id")
	private String cargoOwnerId;
	
	@Ignore
	private String cargoOwnerName;
	
	@ApiModelProperty(value = "审核员") 
	@Column(value = "audit_operator")
	private String auditOperator;

	@ApiModelProperty(value = "审核日期") 
	@Column(value = "audit_date")
	private Date auditDate;

	@ApiModelProperty(value = "审核意见") 
	@Column(value = "audit_text")
	private String auditText;

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

	@ApiModelProperty(value = "数据来源") 
	@Column(value = "source")
	private String source;

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

	@ApiModelProperty(value = "销毁方式")
	@Column(value = "destroy_mode")
	private String destroyMode;

	@ApiModelProperty(value = "销毁地点")
	@Column(value = "destroy_site")
	private String destroySite;

	@ApiModelProperty(value = "销毁日期")
	@Column(value = "destroy_date")
	private Date destroyDate;

	@ApiModelProperty(value = "运输工具")
	@Column(value = "transport_tool")
	private String transportTool;

	@ApiModelProperty(value = "运输人员")
	@Column(value = "transportor")
	private String transportor;

	@ApiModelProperty(value = "销毁后现场情况")
	@Column(value = "destroy_situation")
	private String destroySituation;

	@ApiModelProperty(value = "销毁执行人")
	@Column(value = "destroy_executor")
	private String destroyExecutor;

	@ApiModelProperty(value = "销毁监督人")
	@Column(value = "destroy_supervisor")
	private String destroySupervisor;

	@ApiModelProperty(value = "销毁图片")
	@Column(value = "destroy_pic")
	private String destroyPic;

	@ApiModelProperty(value = "药监部门人员")
	@Column(value = "nmpa_officer")
	private String nmpaOfficer;

	@Ignore
	private List<GspUnqualifiedDestroyD> gspUnqualifiedDestroyDList;
}
