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 java.io.Serializable;
import java.util.Date;
import java.util.List;

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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 节能监察单位产品综合能耗
 *
 * @since 2020-11-20
 */
@Data
@TableName("t_supervision_unit_energy_comprehensive")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "节能监察单位产品综合能耗")
public class TSupervisionUnitEnergyComprehensive extends Model<TSupervisionUnitEnergyComprehensive> {

    private static final long serialVersionUID = 1L;

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

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

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

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

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

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "种类：能源消耗 其它消耗 能源产品 余热余能回收 能源外(转)供")
    private Integer type;

   @ApiModelProperty(value = "代码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String energyName;

    @ApiModelProperty(value = "折标系数")
    private String equalModulus;

    @ApiModelProperty(value = "折标准煤")
    private String tce;

    @ApiModelProperty(value = "计量单位")
    private String unitModulus;

    @ApiModelProperty(value = "数量")
    private String unitEnergyConsumption;

    @ApiModelProperty(value = "产品编号t_supervision_unit_energy")
    private Integer unitEnergyId;

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