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")
public class FdQuotationTemplate implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.UUID)
	private java.lang.String id;
	/**模板类型*/
	@Excel(name = "模板类型", width = 15)
	@NotEmpty(message = "模板类型不能为空")
	private java.lang.String type;
	/**模板名称*/
	@Excel(name = "模板名称", width = 15)
	@NotEmpty(message = "模板名称不能为空")
	private java.lang.String name;
	/**模板描述*/
	@Excel(name = "模板描述", width = 15)
	private java.lang.String description;
	/**费用类别1*/
	@Excel(name = "费用类别1", width = 15)
	// @NotEmpty(message = "费用类别1不能为空")
	private java.lang.String feeCategory1;
	/**费用类别2*/
	@Excel(name = "费用类别2", width = 15)
	// @NotEmpty(message = "费用类别2不能为空")
	private java.lang.String feeCategory2;
	/**版本号*/
	@Excel(name = "版本号", width = 15)
	private java.lang.String version;
	/**是否停用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 languageType;
	//语言类型
	private String languageTypeName;

	/**报价单模板项目*/
	@Excel(name = "报价单模板项目", width = 15)
	@TableField(exist = false)
	private java.lang.String fdQuotationTemplateItem;

}
