package org.jeecg.modules.projectManagement.entity;

import java.io.Serializable;
import java.util.Date;
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.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 生物分析里程碑模板
 * @author： jeecg-boot
 * @date：   2019-08-05
 * @version： V1.0
 */
@Data
@TableName("fd_bioanalysis_template")
public class FdBioanalysisTemplate implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
	private String id;
	/**名称*/
	@Excel(name = "名称", width = 15)
	private String name;
	/**父极id*/
	@Excel(name = "父极id", width = 15)
	private String parentId;
	/**比例*/
	@Excel(name = "比例", width = 15)
	private String proportion;
	/**项目id*/
	@Excel(name = "项目id", width = 15)
	private String projectId;
	/**删除标记0可用1删除*/
	@Excel(name = "删除标记0可用1删除", width = 15)
	private String delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	private 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 Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
	private 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 Date updateTime;
	/**def1*/
	@Excel(name = "def1", width = 15)
	private String def1;
	/**def2*/
	@Excel(name = "def2", width = 15)
	private String def2;
	/**def3*/
	@Excel(name = "def3", width = 15)
	private String def3;
	/**def4*/
	@Excel(name = "def4", width = 15)
	private String def4;
	/**def5*/
	@Excel(name = "def5", width = 15)
	private String def5;

	//样本总数
	private String samplesTotal;

	//排序
	private Integer sort;

	//用于与parentId建立子父极关系
	private String keyId;

	@TableField(exist = false)
	private List<FdBioanalysisTemplate> fdBioanalysisTemplateList;

	//模板项集合
	@TableField(exist = false)
	private List<FdBioanalysisSampleMilestonesItems> fdBioanalysisSampleMilestonesItemsList;

	//级别类型1合同2化合物3基质
	private String levelType;

	//化合物名称
	@TableField(exist = false)
	private String compoundName;

	//基质名称
	@TableField(exist = false)
	private String matrixName;

}
