package org.stm.act.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
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: st_metric
 * @Author: yzh
 * @Date:   2023-03-02
 * @Version: V1.0
 */
@Data
@TableName("st_metric")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="st_metric对象", description="度量管理")
public class StMetric implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.Integer id;
	/**指标编号*/
	@Excel(name = "指标编号", width = 15)
    @ApiModelProperty(value = "指标编号")
    private java.lang.String metricNo;
	/**指标名称*/
	@Excel(name = "指标名称", width = 15)
    @ApiModelProperty(value = "指标名称")
    private java.lang.String metricName;
	/**指标说明*/
	@Excel(name = "指标说明", width = 15)
    @ApiModelProperty(value = "指标说明")
    private java.lang.String metricDesc;
	/**指标类型编码*/
	@Excel(name = "指标类型编码", width = 15)
    @ApiModelProperty(value = "指标类型编码")
    private java.lang.String metricTypeCode;

	/**采集方式编码*/
	@Excel(name = "采集方式编码", width = 15)
    @ApiModelProperty(value = "采集方式编码")
    private java.lang.String collectCode;

	/**采集评率编码*/
	@Excel(name = "采集评率编码", width = 15)
    @ApiModelProperty(value = "采集评率编码")
    private java.lang.String collectRateCode;

	/**审核标志;4 初始状态 3 提交审核 2退回 1审核通过*/
	@Excel(name = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过", width = 15)
    @ApiModelProperty(value = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过")
    private java.lang.String approveFlag;
	/**有效标志;1 表示有效 0删除*/
	@Excel(name = "有效标志;1 表示有效 0删除", width = 15)
    @ApiModelProperty(value = "有效标志;1 表示有效 0删除")
    private java.lang.String vaild;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createdUser;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, 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")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private java.lang.String updatedUser;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, 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")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updatedTime;
}
