package org.jeecg.modules.basedata.entity;

import java.io.Serializable;
import java.util.Date;
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;

import javax.validation.constraints.NotEmpty;

/**
 * @Description: 报价单模板项目
 * @author： jeecg-boot
 * @date：   2019-05-16
 * @version： V1.0
 */
@Data
@TableName("Fd_quotation_template_item")
public class FdQuotationTemplateItem 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 pkQuotationTemplate;
	/**编码/序号*/
	@Excel(name = "编码/序号", width = 15)
	@NotEmpty(message = "编码/序号不能为空")
	private java.lang.String code;
	/**名称*/
	@Excel(name = "名称", width = 15)
	@NotEmpty(message = "名称不能为空")
	private java.lang.String name;
	/**描述/详情*/
	@Excel(name = "描述/详情", width = 15)
//	@NotEmpty(message = "描述/详情不能为空")
	private java.lang.String description;
	/**父节点id*/
	@Excel(name = "父节点id", width = 15)
	private java.lang.String parentId;
	/**所有父节点*/
	@Excel(name = "所有父节点", width = 15)
	private java.lang.String parentIds;
	/**排序*/
	@Excel(name = "排序", width = 15)
	private java.lang.String sort;
	/**是否停用0正常1停用*/
	@Excel(name = "是否停用0正常1停用", width = 15)
	private java.lang.String enable;
	/**删除标记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 = "最后修改人", 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;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private java.lang.String memo;
	/**扩展字段1*/
	@Excel(name = "扩展字段1", width = 15)
	private java.lang.String def1;
	/**扩展字段2*/
	@Excel(name = "扩展字段2", width = 15)
	private java.lang.String def2;
	/**扩展字段3*/
	@Excel(name = "扩展字段3", width = 15)
	private java.lang.String def3;
	/**扩展字段4*/
	@Excel(name = "扩展字段4", width = 15)
	private java.lang.String def4;
	/**扩展字段5*/
	@Excel(name = "扩展字段5", width = 15)
	private java.lang.String def5;

	//可交付结果
	private String deliverables;

	//完成时间
	private String timeline;

	//单价
    private String unitPrice;

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

    //key
	private String treeKey;

	//用于复制获取模板项id
	@TableField(exist = false)
	private String pid;

	//餐后单价
	private String postprandialUnitPrice;

}
