package com.nantian.cloud.jljc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 节能考核
 * @author stz
 * @since 2020-08-05
 */
@Data
@TableName("t_energy_check")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "节能考核")
public class EnergyCheck extends Model<EnergyCheck> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id")
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 节能考核名称
     */
    @ApiModelProperty(value = "节能考核名称")
    private String name;

    /**
     * 节能考核内容
     */
    @ApiModelProperty(value = "节能考核内容")
    private String comments;

    /**
     * 企业社会应用代码
     */
    @ApiModelProperty(value = "企业社会应用代码")
    private String epc;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态")
    private String status;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userid;


    /**
     * 注销状态
     */
    @ApiModelProperty(value = "注销状态（1：未删除，4：已删除）")
    private String delFlag;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    /**
     * 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
