package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @ClassName ReviewRecord
 * @Description 审核记录表
 * @Author 张逸飞
 * @Date 2022/6/16 15:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "审核记录表", description = "审核记录表")
@TableName("review_record")
public class ReviewRecord extends BasicEntity {

    /**
     * 审核主体ID
     */
    @ApiModelProperty(name = "AuditSubjectId", value = "审核主体ID")
    private Long AuditSubjectId;

    /**
     * 审核主体表
     */
    @ApiModelProperty(name = "AuditSubjectTable", value = "审核主体表")
    private String AuditSubjectTable;

    /**
     * 审批人姓名
     */
    @ApiModelProperty(name = "reviewName", value = "审批人姓名")
    private String reviewName;

    /**
     * 审核时间
     */
    @ApiModelProperty(name = "reviewTime", value = "审核时间")
    private Date reviewTime;

    /**
     * 审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝））
     */
    @ApiModelProperty(name = "reviewState", value = "审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝）")
    private Integer reviewState;

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