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_verdict")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "审批结论表")
public class CheckVerdict extends Model<CheckVerdict> {

    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 checkResult;

    /**
     * 经办人
     */
    @ApiModelProperty(value = "经办人")
    private String doPerson;


    /**
     * 审批单位名称
     */
    @ApiModelProperty(value = "审批单位名称")
    private String checkUnit;

    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    private String checkPerson;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private Date checkTime;

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

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

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