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

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolog.framework.core.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

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

@Data
@ApiModel
@Table ( value ="gsp_unqualified_loss" )
public class GspUnqualifiedLoss implements Serializable {
	private static final long serialVersionUID =  3629171736422910060L;

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

	@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;

	@Ignore
	private List<GspUnqualifiedLossD> gspUnqualifiedLossDList;

}
