| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | |
| | | @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2037") |
| | | private Long id; |
| | | |
| | | @Schema(description = "检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "100") |
| | | @NotNull(message = "检查类型不能为空") |
| | | private Integer checkType; |
| | | |
| | | @Schema(description = "作业类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "作业类型不能为空") |
| | |
| | | private LocalDateTime jobTime; |
| | | |
| | | @Schema(description = "作业概要") |
| | | private Integer summary; |
| | | private String summary; |
| | | |
| | | @Schema(description = "备注", example = "你猜") |
| | | private String remark; |