package org.jeecg.modules.clinical.budget.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-17
 * @version： V1.0
 */
@Data
@TableName("fd_clinical_budget_handoverfee_items")
public class FdClinicalBudgetHandoverfeeItems implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**临床过手费明细主键*/
	@TableId(type = IdType.UUID)
	private String id;
	/**临床预算id*/
	@Excel(name = "临床预算id", width = 15)
	private String clinicalBudgetId;
	/**过手费成本id*/
	@Excel(name = "过手费成本id", width = 15)
	private String costOverchargeId;
	/**过手费成本名称*/
	@Excel(name = "过手费成本名称", width = 15)
	private String costOverchargeName;
	/**合同方id（数据字典）*/
	@Excel(name = "合同方id（数据字典）", width = 15)
	private String contractPartyId;
	/**合同方名称（数据字典）*/
	@Excel(name = "合同方名称（数据字典）", width = 15)
	private String contractPartyName;
	/**临床中心*/
	@Excel(name = "临床中心", width = 15)
	private String clinicalCenter;
	/**计划开始时间*/
	@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 startDate;
	/**计划结束时间*/
	@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 endDate;
	/**受试者例数*/
	@Excel(name = "受试者例数", width = 15)
	private String numberOfSubjects;
	/**单位成本*/
	@Excel(name = "单位成本", width = 15)
	private String unitCost;
	/**金额*/
	@Excel(name = "金额", width = 15)
	private String money;
	/**税率*/
	@Excel(name = "税率", width = 15)
	private String tax;
	/**成本*/
	@Excel(name = "成本", width = 15)
	private String costNotTax;
	/**删除标识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;
	/**自定义字段1*/
	@Excel(name = "自定义字段1", 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;
	/**排序*/
	@Excel(name = "排序", width = 15)
	private Integer sort;

	private String clinicalCenterName;
	/**过手费成本ids*/
	@TableField(exist = false)
	private List<String> costOverchargeIdList;
}
