package org.jeecg.modules.sampleAndConsumableManagement.entity;

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

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.basedata.entity.FdHospital;
import org.jeecg.modules.projectManagement.entity.FdProjectFile;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description: 空白基质管理
 * @author： jeecg-boot
 * @date：   2019-06-10
 * @version： V1.0
 */
@Data
@TableName("fd_blank_substrate")
public class FdBlankSubstrate implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
	private java.lang.String id;
	/**合同主键*/
	@Excel(name = "合同主键", width = 15)
	private java.lang.String pkContract;
	/**合同号*/
	@Excel(name = "合同号", width = 15)
	// @NotEmpty(message = "合同号不可为空")
	private java.lang.String contractCode;
	/**项目档案主键*/
	@Excel(name = "项目档案主键", width = 15)
	private java.lang.String pkProjectFile;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
	private java.lang.String projectName;
	/**申办方id*/
	@Excel(name = "申办方id", width = 15)
	private java.lang.String pkBidParty;
	/**申办方名称*/
	@Excel(name = "申办方名称", width = 15)
	private java.lang.String bidPartyName;
	/**客户缩写*/
	@Excel(name = "客户缩写", width = 15)
	private java.lang.String bidPartyNameAbbreviation;
	/**合同方主键*/
	@Excel(name = "合同方主键", width = 15)
	private java.lang.String pkContractParty;
	/**合同方名称*/
	@Excel(name = "合同方名称", width = 15)
	private java.lang.String contractPartyName;
	/**方达追踪号*/
	@Excel(name = "方达追踪号", width = 15)
	@NotEmpty(message = "方达追踪号不可为空")
	private java.lang.String trackingCode;
	/**单据日期*/
	@Excel(name = "单据日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	// @NotNull(message = "单据日期不可为空")
	private java.util.Date documentDate;
	/**基质类型*/
	@Excel(name = "基质类型", width = 15)
	// @NotEmpty(message = "基质类型不可为空")
	private java.lang.String substrateType;
	/**基质物种*/
	@Excel(name = "基质物种", width = 15)
	// @NotEmpty(message = "基质物种不可为空")
	private java.lang.String substrateSpecies;
	/**基质来源*/
	@Excel(name = "基质来源", width = 15)
	// @NotEmpty(message = "基质来源不可为空")
	private java.lang.String substrateSource;
	/**总数量*/
	@Excel(name = "总数量", width = 15)
	// @NotNull(message = "总数量不可为空")
	private java.lang.Integer totalNumber;
	/**剩余数量*/
	@Excel(name = "剩余数量", width = 15)
	private java.lang.Integer remainingNumber;
	/**单位*/
	@Excel(name = "单位", width = 15)
	private java.lang.String unit;
	/**批号*/
	@Excel(name = "批号", width = 15)
	private java.lang.String lotNo;
	/**基质收集医院*/
	@Excel(name = "基质收集医院", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String substrateCollectionHospital;
	/**基质收集医院主键*/
	@Excel(name = "基质收集医院主键", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String pkSubstrateCollectionHospital;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private java.lang.String memo;
	/**存储温度*/
	@Excel(name = "存储温度", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String torageTemperature;
	/**抗凝剂类型*/
	@Excel(name = "抗凝剂类型", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String anticoagulantType;
	/**合规性*/
	@Excel(name = "合规性", width = 15)
	// @NotEmpty(message = "合规性不可为空")
	private java.lang.String compliance;
	/**类型（用途）*/
	@Excel(name = "类型（用途）", width = 15)
	private java.lang.String purpose;
	/**管理负责人*/
	@Excel(name = "管理负责人", width = 15)
	private java.lang.String personInCharge;
	/**管理负责人人员档案主键*/
	@Excel(name = "管理负责人人员档案主键", width = 15)
	private java.lang.String pkPersonInCharge;
	/**版本号*/
	@Excel(name = "版本号", width = 15)
	private java.lang.String version;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15)
	private java.lang.String delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	//项目号
	private String projectFileNo;

	//空白基质文件上传
	@TableField(exist = false)
	private List<FdBlankSubstrateFileUpload> fdBlankSubstrateFileUploadList;

	//空白基质领用记录
	@TableField(exist = false)
	private List<FdBlankSubstrateRecipientRecord> fdBlankSubstrateRecipientRecordList;

	//基质类型名称
	@TableField(exist = false)
	private java.lang.String substrateTypeName;

	//年份
	@TableField(exist = false)
	private java.lang.String year;



}
