package org.jeecg.modules.projectManagement.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.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 项目报价模板对照明细
 * @author： jeecg-boot
 * @date：   2019-05-20
 * @version： V1.0
 */
@Data
@TableName("fd_project_quotation_template_item")
public class FdProjectQuotationTemplateItem implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
	private java.lang.String id;
	/**项目报价单id*/
	@Excel(name = "项目报价单id", width = 15)
	private java.lang.String quotationId;
	/**项目报价单模板id*/
	@Excel(name = "项目报价单模板id", width = 15)
	private java.lang.String projectQuotationTemplateId;
	/**项目报价单模板对照id*/
	@Excel(name = "项目报价单模板对照id", width = 15)
	private java.lang.String projectQuotationTemplateItemId;
	/**费用1*/
	@Excel(name = "费用1", width = 15)
	private java.lang.String feeCategory1;
	/**费用2*/
	@Excel(name = "费用2", width = 15)
	private java.lang.String feeCategory2;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private java.lang.String memo;
	/**删除标记0正常1删除*/
	@Excel(name = "删除标记0正常1删除", 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 = "项目报价模板新增明细")
	@TableField(exist = false)
	private List<FdProjectQuotationTemplateItemAppend> templateItemAppendList;

	//项目详情
	private String text;

	//合并行数量
	@TableField(exist = false)
	private Integer count;

	//报价单模板对照名称
	@TableField(exist = false)
	private String templateItemName;

	/**利润中心--合同处添加*/
	@Excel(name = "利润中心--合同处添加", width = 15)
	private java.lang.String profitCenter;

	/**负责人--合同处添加*/
	@Excel(name = "负责人--合同处添加", width = 15)
	private java.lang.String master;
	//父机id
	private String parentId;

	//名称
	private String name;

	//可交付成果
	private String deliverables;

	//完成时间
	private String timeline;

	//排序
	private String sort;

	//合同中显示的费用1
	private String feeCategory1Contract;

	//合同中显示的费用1
	private String feeCategory2Contract;

	//费用1和费用2的和
	@TableField(exist = false)
	private String fee;

	//单价
	private String unitPrice;

	//对照单明细字段来源
	private String detailField;

	//编码
	private String code;

	//原始费用1
	private String originalFeeCategory1;

	//原始费用2
	private String originalFeeCategory2;

	//获取模板项目id
	@TableField(exist = false)
	private String pid;

	//模板类型
	@TableField(exist = false)
	private String type;

	//模板名称
	@TableField(exist = false)
	private String quotationTemplateName;

	//餐后单价
	private String postprandialUnitPrice;

	//部门id
	private String departId;
	//部门名称
	private String departName;

	//归属月份到确认收入
	@TableField(exist = false)
	private String month;
}
