package com.nantian.cloud.jly.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 审批结论表
 */
@Data
@TableName("check_basis")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "审批结论表")
public class CheckBasis extends Model<CheckBasis> {

    private static final long serialVersionUID = 1L;

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

    /**
     * 审查计划ID
     */
    @ApiModelProperty(value = "审查计划ID")
    private BigInteger checkPlanId;

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

     /**
     * 审查过程概述
     */
    @ApiModelProperty(value = "审查过程概述")
    private String checkItem;

    /**
     * 审查原始记录汇总
     */
    @ApiModelProperty(value = "审查原始记录汇总")
    private String record;


    /**
     * 审查报告汇总
     */
    @ApiModelProperty(value = "审查报告汇总")
    private String reportSummary;

    /**
     * 重点用能单位能源计量审查不符合项报告
     */
    @ApiModelProperty(value = "重点用能单位能源计量审查不符合项报告")
    private String unqualified;

    /**
     * 审查依据
     */
    @ApiModelProperty(value = "审查依据")
    private String checkGist;

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

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

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