eight
2024-11-13 cac7f142c909d712d6d49c45b0d4efbdef673e48
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/jobrecord/vo/JobRecordSaveReqVO.java
@@ -2,9 +2,9 @@
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
@Schema(description = "管理后台 - 工作记录新增/修改 Request VO")
@@ -13,6 +13,10 @@
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2037")
    private Long id;
    @Schema(description = "检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotEmpty(message = "检查类型不能为空")
    private Integer checkType;
    @Schema(description = "作业类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "作业类型不能为空")
@@ -38,9 +42,13 @@
    private LocalDateTime jobTime;
    @Schema(description = "作业概要")
    private Integer summary;
    private String summary;
    @Schema(description = "备注", example = "你猜")
    private String remark;
    @Schema(description = "对应租赁编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19472")
    @NotNull(message = "对应租赁编号不能为空")
    private Long rentId;
}