package com.nantian.cloud.jljc.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
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-10-27
 */
@Data
@TableName("t_supervision_energy")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "单位产品能耗监测表")
public class TSupervisionEnergy extends Model<TSupervisionEnergy>{

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 报表年度
     */
    @ApiModelProperty(value = "报表年度")
    private Integer year;

    /**
     * 用户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;

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

    /**
     * 监察编号
     */
    @ApiModelProperty(value = "监察编号")
    private String monitorId;

    /**
     * 能源名称
     */
    @ApiModelProperty(value = "能源名称")
    private String productName;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Double production;

    /**
     * 产品单位
     */
    @ApiModelProperty(value = "产品单位")
    private String unit;

    /**
     * 设计产能
     */
    @ApiModelProperty(value = "设计产能")
    private Double designCapacity;

    /**
     * 综合能耗
     */
    @ApiModelProperty(value = "综合能耗")
    private Double comprehensiveEnergy;

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

    /**
     * 工序
     */
    @ApiModelProperty(value = "工序")
    private String process;

    /**
     * 单位产品综合能耗限额标准
     **/
    @ApiModelProperty(value = "单位产品综合能耗限额标准")
    private Double unitProductLimitStandard;

    /**
     * 单位产品综合能耗监察结果
     */
    @ApiModelProperty(value = "单位产品综合能耗监察结果")
    private String result;

    /**
     * 能耗合计
     */
    @ApiModelProperty(value = "能耗合计")
    private String energySum;

    /**
     * 折标系数
     */
    @ApiModelProperty(value = "折标系数")
    private String refModulus;

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

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