CarReviewTask.java 5.02 KB
Newer Older
王飞's avatar
王飞 committed
1 2 3 4 5 6 7 8
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;
import java.io.Serializable;
import java.util.Date;
王飞's avatar
王飞 committed
9
import java.util.List;
王飞's avatar
王飞 committed
10

王飞's avatar
王飞 committed
11
import com.fasterxml.jackson.annotation.JsonFormat;
王飞's avatar
王飞 committed
12
import com.ruoyi.common.StandardJsonTypeHandler;
王飞's avatar
王飞 committed
13 14
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
W_Y's avatar
W_Y committed
15
import lombok.experimental.Accessors;
王飞's avatar
王飞 committed
16 17 18 19 20

/**
 * 车型审查任务
 * @TableName t_car_review_task
 */
王飞's avatar
王飞 committed
21
@TableName(value ="t_car_review_task", autoResultMap = true)
W_Y's avatar
W_Y committed
22
@Accessors(chain = true)
王飞's avatar
王飞 committed
23 24 25
@Data
public class CarReviewTask implements Serializable {

W_Y's avatar
W_Y committed
26 27
    @TableField(exist = false)
    public static final String TASK_STATUS_NEW = "NEW";
王飞's avatar
王飞 committed
28 29 30 31 32
    @TableField(exist = false)
    public static final String TASK_STATUS_PENDING = "PENDING";
    @TableField(exist = false)
    public static final String TASK_STATUS_FINISH = "FINISH";

W_Y's avatar
W_Y committed
33 34


王飞's avatar
王飞 committed
35 36 37 38 39 40 41
    @TableField(exist = false)
    public static final String REVIEW_STATUS_NONE = "NONE";
    @TableField(exist = false)
    public static final String REVIEW_STATUS_NEW = "NEW";
    @TableField(exist = false)
    public static final String REVIEW_STATUS_PENDING = "PENDING";
    @TableField(exist = false)
42 43
    public static final String REVIEW_STATUS_SIGNED = "SIGNED";
    @TableField(exist = false)
王飞's avatar
王飞 committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
    public static final String REVIEW_STATUS_FINISH = "FINISH";


    @TableField(exist = false)
    public static final String TEST_STATUS_NONE = "NONE";
    @TableField(exist = false)
    public static final String TEST_STATUS_NEW = "NEW";
    @TableField(exist = false)
    public static final String TEST_STATUS_PENDING = "PENDING";
    @TableField(exist = false)
    public static final String TEST_STATUS_FINISH = "FINISH";

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
王飞's avatar
王飞 committed
61
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
    private Long id;

    /**
     * 任务编号
     */
    @ApiModelProperty("任务编号")
    private String taskNo;

    /**
     * 任务状态(PENDING、FINISH)
     */
    @ApiModelProperty("任务状态(PENDING、FINISH)")
    private String taskStatus;

    /**
     * 任务发起人姓名
     */
    @ApiModelProperty("任务发起人姓名")
    private String taskInitiator;

    /**
     * 任务发起人部门
     */
    @ApiModelProperty("任务发起人部门")
    private String taskInitiatorDept;

    /**
     * 任务结果(PASS、REJECT)
     */
    @ApiModelProperty("任务结果(PASS、REJECT)")
    private String taskResult;

    /**
     * 任务开始时间
     */
    @ApiModelProperty("任务开始时间")
    private Date taskBeginTime;

    /**
     * 任务结束时间
     */
    @ApiModelProperty("任务结束时间")
    private Date taskEndTime;

    /**
     * 审查标准
     */
    @ApiModelProperty("审查标准")
王飞's avatar
王飞 committed
110 111
    @TableField(value="standard", typeHandler = StandardJsonTypeHandler. class)
    private List<ReviewStandard> standard;
王飞's avatar
王飞 committed
112 113 114 115 116 117 118 119 120 121

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 审查组长id
     */
W_Y's avatar
W_Y committed
122
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
123 124 125 126 127 128 129 130 131 132 133 134
    @ApiModelProperty("审查组长id")
    private Long leaderId;

    /**
     * 审查组长姓名
     */
    @ApiModelProperty("审查组长姓名")
    private String leader;

    /**
     * 关联标准表id
     */
W_Y's avatar
W_Y committed
135
    @JsonFormat(shape = JsonFormat.Shape.STRING)
王飞's avatar
王飞 committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
    @ApiModelProperty("关联标准表id")
    private Long standardId;

    /**
     * 标准名称
     */
    @ApiModelProperty("标准名称")
    private String name;

    /**
     * 标准号
     */
    @ApiModelProperty("标准号")
    private String standardNo;

    /**
     * 文件路径
     */
    @ApiModelProperty("文件路径")
    private String file;

    /**
     * 车型问卷审查任务状态[NONE、NEW、PENDING、FINISH]
     */
    @ApiModelProperty("车型问卷审查任务状态[NONE、NEW、PENDING、FINISH]")
    private String reviewStatus;

    /**
     * 车型测试任务状态[NONE、NEW、PENDING、FINISH]
     */
    @ApiModelProperty("车型测试任务状态[NONE、NEW、PENDING、FINISH]")
    private String testStatus;

169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
    /**
     * 车型问卷开始时间
     */
    @ApiModelProperty("车型问卷开始时间")
    private Date reviewStartTime;

    /**
     * 车型问卷提交时间
     */
    @ApiModelProperty("车型问卷提交时间")
    private Date reviewSubmitTime;

    /**
     * 车型问卷提交人id
     */
W_Y's avatar
W_Y committed
184
    @JsonFormat(shape = JsonFormat.Shape.STRING)
185 186 187 188 189 190 191 192 193
    @ApiModelProperty("车型问卷提交人id")
    private Long reviewSubmitId;

    /**
     * 车型问卷提交人姓名
     */
    @ApiModelProperty("车型问卷提交人姓名")
    private String reviewSubmitName;

194 195 196 197 198 199
    /**
     * 车型问卷审查结果
     */
    @ApiModelProperty("车型问卷审查结果")
    private String reviewResult;

200 201 202
    @ApiModelProperty("问卷签名图片地址")
    private String reviewImagesUrl;

W_Y's avatar
W_Y committed
203
}