package com.nantian.cloud.jljc.entity;

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 io.lettuce.core.output.ValueValueListOutput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 能耗双控-完成情况修改申请
 */
@Data
@ApiModel(value = "能耗双控-完成情况填报")
@TableName("t_dualcontrol_progress_apply")
@EqualsAndHashCode(callSuper = true)
public class TDualcontrolProgressApply extends Model<TDualcontrolProgressApply> {

    private static final long serialVersionUID = 1L;

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

    /**
     * 进度id
     */
    @ApiModelProperty(value = "进度id")
    private Long progressId;

    /**
     * 申请用户id
     */
    @ApiModelProperty(value = "申请用户id")
    private Integer modifyUserId;

    /**
     * 申请用户名称
     */
    @ApiModelProperty(value = "申请用户名称")
    private String modifyUserName;

    /**
     * 申请时间
     */
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    /**
     * 申请原因
     */
    @ApiModelProperty(value = "申请原因")
    private String modifyComments;

    /**
     * 审核结果(0待审核,1审核通过,2审核不通过,3退回)
     */
    @ApiModelProperty(value = "审核结果(0待审核,1审核通过,2审核不通过,3退回)")
    private String auditResult;

    /**
     * 审核用户id
     */
    @ApiModelProperty(value = "审核用户id")
    private Integer auditUserId;

    /**
     * 审核用户名称
     */
    @ApiModelProperty(value = "审核用户名称")
    private String auditUserName;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;

    /**
     * 审核结论
     */
    @ApiModelProperty(value = "审核结论")
    private String auditComments;

    /**
     * 审核类型(1可审核,2不可审核)
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "审核类型(1可审核,2不可审核)")
    private String type;

    /**
     * 年度
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "年度")
    private Integer year;

    /**
     * 季度(0年度值,1第一季度,2第二季度,3第三季度,4第四季度)
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "季度(0年度值,1第一季度,2第二季度,3第三季度,4第四季度)")
    private String quarter;

    /**
     * 项目编码
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "项目编码")
    private String itemCode;

    /**
     * 项目名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "项目名称")
    private String itemName;

    /**
     * GDP总量(亿元)
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "GDP总量(亿元)")
    private Double gdpTotal;

    /**
     * 能耗总量(万tce)
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "能耗总量(万tce)")
    private Double energyTotal;
}
