package com.nantian.cloud.jljc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("zstb_produce")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "重点企业用能情况表副表，产品表")
public class ZstbProduce extends Model<DataAudition> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "外键")
    private Long useEngergyId;

    @ApiModelProperty(value = "产品名称")
    private String productName;

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

    @ApiModelProperty(value = "设计产能")
    private String designOutput;

    @ApiModelProperty(value = "当年某月产能")
    private String curYearMonthOutput;

    @ApiModelProperty(value = "当年某月能源消费量")
    private String curYearMonthEnergy;

    @ApiModelProperty(value = "数据添加时间")
    private Date addTime;

    @ApiModelProperty(value = "数据修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "注销状态,1：未注销、4：已注销")
    private String delFlag;

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

}
