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.FdPersonnel;
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-11
 * @version： V1.0
 */
@Data
@TableName("fd_column_management")
public class FdColumnManagement 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 = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String pkDepart;
	/**部门名称*/
	@Excel(name = "部门名称", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String departName;
	/**存储单日期*/
	@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 storageOrderDate;
	/**采购单号*/
	@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)
	private java.lang.String personInCharge;
	/**项目负责人人员档案主键*/
	@Excel(name = "项目负责人人员档案主键", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String pkProjectLeader;
	/**项目负责人*/
	@Excel(name = "项目负责人", width = 15)
	@TableField(strategy = FieldStrategy.IGNORED)
	private java.lang.String projectLeader;
	/**运单号*/
	@Excel(name = "运单号", width = 15)
	private java.lang.String courierNumber;
	/**柱型id*/
	@Excel(name = "柱型", width = 15)
	private java.lang.String pkColumnType;
	//柱型
	@TableField(exist = false)
	private java.lang.String columnTypeName;
	/**粒径id */
	@Excel(name = "粒径 ", width = 15)
	@NotEmpty(message = "粒径不能为空")
	private java.lang.String pkParticleSize;
	//粒径
	@TableField(exist = false)
	private java.lang.String particleSizeName;
	/**柱长id*/
	@Excel(name = "柱长", width = 15)
	@NotEmpty(message = "柱长不能为空")
	private java.lang.String pkColumnLength;
	//柱长
	@TableField(exist = false)
	private java.lang.String columnLengthName;
	/**柱径id*/
	@Excel(name = "柱径", width = 15)
	@NotEmpty(message = "柱径不能为空")
	private java.lang.String pkColumnDiameter;
	//柱径
	@TableField(exist = false)
	private java.lang.String columnDiameterName;
	/**S/N号码*/
	@Excel(name = "S/N号码", width = 15)
	private java.lang.String snNumber;
	/**接收日期*/
	@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 = 15)
	@NotEmpty(message = "存储位置不能为空")
	private java.lang.String storageLocation;
	/**色谱柱供应商*/
	@Excel(name = "色谱柱供应商", width = 15)
	private java.lang.String columnSupplier;
	/**色谱柱名称*/
	@Excel(name = "色谱柱名称", width = 15)
	private java.lang.String columnName;
	/**色谱柱到货日期*/
	@Excel(name = "色谱柱到货日期", width = 15)
	private java.util.Date arrivalDate;
	/**色谱柱货号*/
	@Excel(name = "色谱柱货号", width = 15)
	@NotEmpty(message = "色谱柱货号不能为空")
	private java.lang.String columnNumber;
	/**类型（用途）*/
	@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;

	//项目号
	private String projectFileNo;

	//色谱柱管理领用记录
	@TableField(exist = false)
	private List<FdColumnManagementRecipientRecord> fdColumnManagementRecipientRecordList;

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

}
