package com.nantian.cloud.jljc.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.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 两高行业及其重点领域
 * </p>
 *
 * @author fyf
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("discharge_energy_key_fields")
public class DischargeEnergyKeyFields extends Model<DischargeEnergyKeyFields> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 大类
     */
    private String broadHead;

    /**
     * 大类编码
     */
    private Integer broadHeadCode;

    /**
     * 中类
     */
    private String inClass;

    /**
     * 中类编码
     */
    private Integer inClassCode;

    /**
     * 小类
     */
    private String subclass;

    /**
     * 小类编码
     */
    private Integer subclassCode;

    /**
     * 重点领域1
     */
    private String keyField1;

    /**
     * 重点领域2
     */
    private String keyField2;

    /**
     * 指标名称
     */
    private String nameOfIndex;

    /**
     * 指标单位
     */
    private String indexOfUnit;

    /**
     * 标杆水平
     */
    private String benchmarkingLevel;

    /**
     * 基准水平
     */
    private String datumPlane;

    /**
     * 参考标准
     */
    private String referenceStandard;

    private Integer delFlag;

    private Integer deptId;

    private Integer userId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
