ReviewStandard.java 2.63 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;
10 11
import lombok.AllArgsConstructor;
import lombok.Builder;
王飞's avatar
王飞 committed
12
import lombok.Data;
13
import lombok.NoArgsConstructor;
王飞's avatar
王飞 committed
14

王飞's avatar
王飞 committed
15
import java.util.ArrayList;
王飞's avatar
王飞 committed
16 17 18 19 20
import java.util.List;

/**
 * 审查标准
 */
王飞's avatar
王飞 committed
21
@ApiModel
王飞's avatar
王飞 committed
22 23
@TableName(value ="t_review_standard")
@Data
24 25 26
@Builder
@NoArgsConstructor
@AllArgsConstructor
王飞's avatar
王飞 committed
27 28
public class ReviewStandard {

王飞's avatar
王飞 committed
29 30
    public static final String TYPE_SYSTEM = "system"; // 体系审查类型
    public static final String TYPE_CAR = "car"; // 车型审查类型
31
    public static final String TYPE_TEST = "test"; // 车型试验类型
王飞's avatar
王飞 committed
32

wdy's avatar
wdy committed
33 34 35 36 37 38
    // 标准通过
    public static final Integer PASSED = 1;

    // 标准不通过
    public static final Integer NO_PASSED = 0;

王飞's avatar
王飞 committed
39 40 41
    /**
     * 主键
     */
王飞's avatar
王飞 committed
42
    @ApiModelProperty("主键")
王飞's avatar
王飞 committed
43
    @TableId(type = IdType.ASSIGN_ID)
王飞's avatar
王飞 committed
44
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
45 46
    private Long id;

王飞's avatar
王飞 committed
47 48 49 50 51 52
    /**
     * 检查类型[system(体系审查)、car(车型审查)]
     */
    @ApiModelProperty("检查类型[system(体系审查)、car(车型审查)]")
    private String type;

王飞's avatar
王飞 committed
53 54 55
    /**
     * 章节
     */
王飞's avatar
王飞 committed
56
    @ApiModelProperty("章节")
王飞's avatar
王飞 committed
57 58 59 60 61
    private String chapter;

    /**
     * 文本内容
     */
王飞's avatar
王飞 committed
62
    @ApiModelProperty("文本内容")
王飞's avatar
王飞 committed
63 64
    private String text;

65 66 67 68 69 70
    /**
     * 测试方法(车型试验专有)
     */
    @ApiModelProperty("测试方法(车型试验专有)")
    private String testMethod;

王飞's avatar
王飞 committed
71 72 73
    /**
     * 要点列表
     */
王飞's avatar
王飞 committed
74
    @ApiModelProperty("要点列表")
王飞's avatar
王飞 committed
75 76 77
    @TableField(exist = false)
    private List<ReviewKeyPoint> keyPointList;

78 79 80
    /**
     * 关联标准表id
     */
W_Y's avatar
W_Y committed
81
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
82
    @ApiModelProperty("关联标准表id")
83 84 85 86 87
    private Long standardId;

    /**
     * 标准名称
     */
王飞's avatar
王飞 committed
88
    @ApiModelProperty("标准名称")
89 90 91 92 93
    private String name;

    /**
     * 标准号
     */
王飞's avatar
王飞 committed
94
    @ApiModelProperty("标准号")
95 96 97 98 99
    private String standardNo;

    /**
     * 文件路径
     */
王飞's avatar
王飞 committed
100
    @ApiModelProperty("文件路径")
101 102
    private String file;

103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
    @ApiModelProperty("审核是否通过(0未通过、1通过)")
    @TableField(exist = false)
    private Integer passed;


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

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

王飞's avatar
王飞 committed
120
}