FDataItem.java 5.0 KB
package com.skua.modules.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 数据项
 */
@Data
@TableName("f_data_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="f_data_item对象", description="数据项")
public class FDataItem {

	/**主键id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键id")
	private java.lang.String id;
	/**数据项名称*/
	@Excel(name = "数据项名称", width = 200)
    @ApiModelProperty(value = "数据项名称")
	private java.lang.String dataName;
	/**数据项编码*/
	@Excel(name = "数据项编码", width = 200)
	@ApiModelProperty(value = "数据项编码")
	private java.lang.String dataCode;
	/**数据类别*/
	@Excel(name = "数据类别", width = 40)
    @ApiModelProperty(value = "数据类别")
	private java.lang.String dataType;
	/**数据项描述*/
	@Excel(name = "数据项描述", width = 200)
    @ApiModelProperty(value = "数据项描述")
	private java.lang.String dataDesc;
	/**扩展字段1*/
    @ApiModelProperty(value = "扩展字段1")
	private java.lang.String column1;
	/**扩展字段2*/
    @ApiModelProperty(value = "扩展字段2")
	private java.lang.String column2;
	/**扩展字段3*/
    @ApiModelProperty(value = "扩展字段3")
	private java.lang.String column3;
	/**扩展字段4*/
    @ApiModelProperty(value = "扩展字段4")
	private java.lang.String column4;
	/**扩展字段5*/
    @ApiModelProperty(value = "扩展字段5")
	private java.lang.String column5;
	@Excel(name = "所属厂区", width = 40)
	@ApiModelProperty(value = "所属厂区")
	@Dict(dictTable="sys_depart",dicCode = "id",dicText = "depart_name")
	private java.lang.String departId;
	/**数据项单位*/
	@Excel(name = "数据项单位", width = 40)
    @ApiModelProperty(value = "数据项单位")
	private java.lang.String unit;
	/**数据有效性最大*/
	@Excel(name = "数据有效性最大", width = 40)
    @ApiModelProperty(value = "数据有效性最大")
	private java.lang.Double trendMax;
	/**数据有效性最小*/
	@Excel(name = "数据有效性最小", width = 40)
    @ApiModelProperty(value = "数据有效性最小")
	private java.lang.Double trendMin;
	/**报警上限*/
	@Excel(name = "报警上限", width = 40)
    @ApiModelProperty(value = "报警上限")
	private java.lang.Double alarmMax;
	/**超出上限背景色*/
	@Excel(name = "超出上限背景色", width = 40)
    @ApiModelProperty(value = "超出上限背景色")
	private java.lang.String alarmMaxColor;
	/**报警下限*/
	@Excel(name = "报警下限", width = 40)
    @ApiModelProperty(value = "报警下限")
	private java.lang.Double alarmMin;
	/**低于下限背景色*/
	@Excel(name = "低于下限背景色", width = 40)
    @ApiModelProperty(value = "低于下限背景色")
	private java.lang.String alarmMinColor;
	/**文本框类型*/
	@Excel(name = "文本框类型", width = 40)
    @ApiModelProperty(value = "文本框类型")
	private java.lang.String textType;
	/**字典CODE/时间格式/正则*/
	@Excel(name = "字典CODE/时间格式/正则", width = 40)
    @ApiModelProperty(value = "字典CODE/时间格式/正则")
	private java.lang.String typeInit;
	/**排序序号*/
	@Excel(name = "排序序号", width = 10)
    @ApiModelProperty(value = "排序序号")
	private java.lang.Integer sortNum;
	/**创建人Id*/
    @ApiModelProperty(value = "创建人Id")
	private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改人Id*/
    @ApiModelProperty(value = "修改人Id")
	private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
	private java.lang.String createDept;
	/**所属公司*/
    @ApiModelProperty(value = "所属公司")
	private java.lang.String createCmpy;
	/**删除标识*/
    @ApiModelProperty(value = "删除标识")
	private java.lang.Integer delFlag;
    /**计算方式*/
    @ApiModelProperty(value = "计算方式")
	private java.lang.String calculationType;

    @ApiModelProperty(value = "填报指标分类")
    @Dict(dicCode = "dataClassify")
    private java.lang.String dataClassify;
    @ApiModelProperty(value = "填报小数精度")
    private java.lang.String dataScale;

}