ReviewStandard.java 2.15 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
import lombok.Data;

王飞's avatar
王飞 committed
12
import java.util.ArrayList;
王飞's avatar
王飞 committed
13 14 15 16 17
import java.util.List;

/**
 * 审查标准
 */
王飞's avatar
王飞 committed
18
@ApiModel
王飞's avatar
王飞 committed
19 20 21 22
@TableName(value ="t_review_standard")
@Data
public class ReviewStandard {

王飞's avatar
王飞 committed
23 24 25
    public static final String TYPE_SYSTEM = "system"; // 体系审查类型
    public static final String TYPE_CAR = "car"; // 车型审查类型

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

王飞's avatar
王飞 committed
34 35 36 37 38 39
    /**
     * 检查类型[system(体系审查)、car(车型审查)]
     */
    @ApiModelProperty("检查类型[system(体系审查)、car(车型审查)]")
    private String type;

王飞's avatar
王飞 committed
40 41 42
    /**
     * 章节
     */
王飞's avatar
王飞 committed
43
    @ApiModelProperty("章节")
王飞's avatar
王飞 committed
44 45 46 47 48 49
    private String chapter;


    /**
     * 文本内容
     */
王飞's avatar
王飞 committed
50
    @ApiModelProperty("文本内容")
王飞's avatar
王飞 committed
51 52 53 54 55
    private String text;

    /**
     * 要点列表
     */
王飞's avatar
王飞 committed
56
    @ApiModelProperty("要点列表")
王飞's avatar
王飞 committed
57 58 59
    @TableField(exist = false)
    private List<ReviewKeyPoint> keyPointList;

60 61 62
    /**
     * 关联标准表id
     */
W_Y's avatar
W_Y committed
63
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
64
    @ApiModelProperty("关联标准表id")
65 66 67 68 69
    private Long standardId;

    /**
     * 标准名称
     */
王飞's avatar
王飞 committed
70
    @ApiModelProperty("标准名称")
71 72 73 74 75
    private String name;

    /**
     * 标准号
     */
王飞's avatar
王飞 committed
76
    @ApiModelProperty("标准号")
77 78 79 80 81
    private String standardNo;

    /**
     * 文件路径
     */
王飞's avatar
王飞 committed
82
    @ApiModelProperty("文件路径")
83 84
    private String file;

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
    @ApiModelProperty("审核是否通过(0未通过、1通过)")
    @TableField(exist = false)
    private Integer passed;


    /**
     * 符合
     */
    @ApiModelProperty("符合")
    private String conformity;

    /**
     * 不符合
     */
    @ApiModelProperty("不符合")
    private String inconformity;

王飞's avatar
王飞 committed
102
}