ReviewDetails.java 1.98 KB
Newer Older
王飞's avatar
王飞 committed
1 2 3 4 5 6
package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
王飞's avatar
王飞 committed
7
import com.fasterxml.jackson.annotation.JsonFormat;
王飞's avatar
王飞 committed
8 9
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
王飞's avatar
王飞 committed
10 11 12 13 14 15 16
import lombok.Data;

import java.util.List;

/**
 * 审查细则
 */
王飞's avatar
王飞 committed
17
@ApiModel
王飞's avatar
王飞 committed
18 19 20 21 22 23 24
@TableName(value ="t_review_details")
@Data
public class ReviewDetails {

    /**
     * 主键
     */
王飞's avatar
王飞 committed
25
    @ApiModelProperty("主键")
王飞's avatar
王飞 committed
26
    @TableId(type = IdType.ASSIGN_ID)
王飞's avatar
王飞 committed
27
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
28 29 30 31 32
    private Long id;

    /**
     * 文本内容
     */
王飞's avatar
王飞 committed
33
    @ApiModelProperty("文本内容")
王飞's avatar
王飞 committed
34 35 36 37 38
    private String text;

    /**
     * 审查要点id
     */
W_Y's avatar
W_Y committed
39
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
40
    @ApiModelProperty("审查要点id")
王飞's avatar
王飞 committed
41 42 43 44 45
    private Long reviewKeypointId;

    /**
     * 审核场景列表
     */
王飞's avatar
王飞 committed
46
    @ApiModelProperty("审核场景列表")
王飞's avatar
王飞 committed
47 48 49 50 51 52
    @TableField(exist = false)
    private List<ReviewScene> reviewSceneList;

    /**
     * 该明细的审查结果
     */
王飞's avatar
王飞 committed
53
    @ApiModelProperty("该明细的审查结果")
王飞's avatar
王飞 committed
54 55 56
    @TableField(exist = false)
    private ReviewDetailsResult result;

王飞's avatar
王飞 committed
57 58 59 60

    /**
     * 冗余标准id (为便于前端显示)
     */
王飞's avatar
王飞 committed
61
    @ApiModelProperty("标准id")
王飞's avatar
王飞 committed
62 63 64 65 66 67
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField(exist = false)
    private Long standardId;
    /**
     * 冗余审查标准内容 (为便于前端显示)
     */
王飞's avatar
王飞 committed
68
    @ApiModelProperty("标准内容")
王飞's avatar
王飞 committed
69 70 71 72 73
    @TableField(exist = false)
    private String standardText;
    /**
     * 冗余章节 (为便于前端显示)
     */
王飞's avatar
王飞 committed
74
    @ApiModelProperty("章节")
王飞's avatar
王飞 committed
75 76 77 78 79
    @TableField(exist = false)
    private String chapter;
    /**
     * 冗余审查要点内容 (为便于前端显示)
     */
王飞's avatar
王飞 committed
80
    @ApiModelProperty("要点内容")
王飞's avatar
王飞 committed
81 82 83
    @TableField(exist = false)
    private String reviewKeypointText;

王飞's avatar
王飞 committed
84
}