package org.jeecg.modules.sampleAndConsumableManagement.entity;

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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.basedata.entity.FdPersonnel;
import org.jeecg.modules.projectManagement.entity.FdProjectFile;
import org.jeecg.modules.system.entity.SysDepart;
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-12
 * @version： V1.0
 */
@Data
@TableName("fd_reagent_management")
public class FdReagentManagement 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 = 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 memoryNoteDate;
	/**试剂名称*/
	@Excel(name = "试剂名称", width = 15)
	@NotEmpty(message = "试剂名称不能为空")
	private java.lang.String reagentName;
	/**方达追踪号*/
	@Excel(name = "方达追踪号", width = 15)
	@NotEmpty(message = "方达追踪号不能为空")
	private java.lang.String trackingCode;
	/**组织机构主键*/
	@Excel(name = "组织机构主键", width = 15)
	private java.lang.String pkDepart;
	/**部门名称*/
	@Excel(name = "部门名称", width = 15)
	private java.lang.String departName;
	/**采购单号*/
	@Excel(name = "采购单号", width = 15)
	private java.lang.String purchaseOrderNo;
	/**批号*/
	@Excel(name = "批号", width = 15)
	private java.lang.String lotNo;
	/**管理负责人人员档案主键*/
	@Excel(name = "管理负责人人员档案主键", width = 15)
	private java.lang.String pkPersonInCharge;
	/**管理负责人*/
	@Excel(name = "管理负责人", width = 15)
	@NotEmpty(message = "管理负责人不能为空")
	private java.lang.String personInCharge;
	/**生物分析负责人人员档案主键*/
	@Excel(name = "生物分析负责人人员档案主键", width = 15)
	private java.lang.String pkBioanalystLeader;
	/**生物分析负责人*/
	@Excel(name = "生物分析负责人 ", width = 15)
	private java.lang.String bioanalystLeader;
	/**入库总量    */
	@Excel(name = "入库总量", width = 15)
	@NotNull(message = "入库总量不能为空")
	private java.lang.Integer totalInventory;
	/**规格*/
	@Excel(name = "规格", width = 15)
	private java.lang.String specifications;
	/**运单号*/
	@Excel(name = "运单号", width = 15)
	private java.lang.String courierNumber;
	/**存储温度*/
	@Excel(name = "存储温度", width = 15)
	private java.lang.String storageTemperature;
	/**存储位置*/
	@Excel(name = "存储位置", width = 15)
	private java.lang.String storageLocation;
	/**生产日期*/
	@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 productionDate;
	/**校正系数 */
	@Excel(name = "校正系数 ", width = 15)
	private java.lang.String correctionFactor;
	/**浓度*/
	@Excel(name = "浓度", width = 15)
	private java.lang.String concentration;
	/**纯度*/
	@Excel(name = "纯度", width = 15)
	private java.lang.String purity;
	/**接收日期*/
	@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 receivingDate;
	/**过期日期*/
	@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 expirationDate;
	/**运送时间*/
	@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 deliveryTime;
	/**预警数量*/
	@Excel(name = "预警数量", width = 15)
	private java.lang.Integer warningNumber;
	/**预警天数*/
	@Excel(name = "预警天数", width = 15)
	private java.lang.Integer warningDay;
	/**剩余数量 */
	@Excel(name = "剩余数量 ", width = 15)
	private java.lang.Integer remainingNumber;
	/**距过期日还剩天数*/
	@Excel(name = "距过期日还剩天数", width = 15)
	private java.lang.Integer expirationDay;
	/**类型（用途）*/
	@Excel(name = "类型（用途）", width = 15)
	private java.lang.String purpose;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private java.lang.String memo;
	/**版本号*/
	@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;


	//试剂管理领用记录
	@TableField(exist = false)
	private List<FdReagentManagementRecipientRecord> fdReagentManagementRecipientRecordList;

	//部门档案
	@TableField(exist = false)
	private List<SysDepart> sysDepartList;

	//人员档案
	@TableField(exist = false)
	private List<FdPersonnel> fdPersonnelList;


}
