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

import com.baomidou.mybatisplus.annotation.IdType;
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.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 重要信息系统表
 * @Author: jiakx
 * @Date:   2024-03-23
 * @Version: V1.0
 */
@Data
@TableName("metric_app_system")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class MetricAppSystem implements Serializable {
    private static final long serialVersionUID = 1L;

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

    private java.lang.Integer id;
	/**应用系统名称*/
	@Excel(name = "应用系统名称", width = 15)

    private java.lang.String name;
	/**应用系统编号*/
	@Excel(name = "应用系统编号", width = 15)

    private java.lang.String code;
	/**开始运行时间*/
	@Excel(name = "开始运行时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date stDate;
	/**结束运行时间*/
	@Excel(name = "结束运行时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date endDate;
	/**负责人*/
	@Excel(name = "负责人", width = 15)

    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String admin;
	/**权重*/
	@Excel(name = "权重", width = 15)

    private java.lang.Float weight;
    /**运行状态*/
    @Excel(name = "运行状态", width = 15)

    @Dict(dicCode = "app_system_sta")
    private java.lang.Integer sta;
	/**说明*/
	@Excel(name = "说明", width = 15)

    private java.lang.String des;
}
