package org.jeecg.modules.stm.page.entity;

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 com.fasterxml.jackson.annotation.JsonFormat;
 
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 首页配置-生产指标
 * @Author: jeecg-boot
 * @Date:   2024-01-30
 * @Version: V1.0
 */
@Data
@TableName("page_titleconfig")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class PageTitleconfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.AUTO)

    private java.lang.Integer id;
    /**创建人*/

    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date createTime;

    /**模板ID*/
    @Excel(name = "模板ID", width = 15)

    private java.lang.Integer tplId;
    /**模板项目ID*/
    @Excel(name = "模板项目ID", width = 15)

    private java.lang.Integer tplItemId;
    /**指标ID*/
    @Excel(name = "指标ID", width = 15)

    private java.lang.Integer tplItemDtId;
    /**显示顺序*/
    @Excel(name = "显示顺序", width = 15)

    private java.lang.Integer showSort;
    /**显示名称*/
    @Excel(name = "显示名称", width = 15)

    private java.lang.String showName;

    @Excel(name = "模板名称", width = 15)

    private java.lang.String tplName;

    @Excel(name = "模板项目名称", width = 15)

    private java.lang.String tplItemName;

    @Excel(name = "指标名称", width = 15)

    private java.lang.String itemDtName;

    @Excel(name = "单位", width = 15)

    private java.lang.String unit;

    @Excel(name = "默认图标", width = 15)

    private java.lang.String defaultIcon;

    @Excel(name = "默认值", width = 15)

    private java.lang.String defaultVal;

    @Excel(name = "分类", width = 15)

    private java.lang.Integer tp;

    @TableField(exist = false)
    private String datasource;
}
