liyong
8 天以前 1ab2b329a40decba8ff7eefbeb158ff259aceb6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package cn.iocoder.yudao.module.mes.controller.admin.dv.repair.vo.line;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
 
@Schema(description = "管理后台 - MES 维修工单行新增/修改 Request VO")
@Data
public class MesDvRepairLineSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "维修工单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "维修工单不能为空")
    private Long repairId;
 
    @Schema(description = "点检保养项目编号", example = "1")
    private Long subjectId;
 
    @Schema(description = "故障描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "液压系统漏油")
    @NotBlank(message = "故障描述不能为空")
    private String malfunction;
 
    @Schema(description = "故障图片 URL", example = "https://example.com/image.png")
    private String malfunctionUrl;
 
    @Schema(description = "维修描述", example = "更换密封圈")
    private String description;
 
    @Schema(description = "备注", example = "测试备注")
    private String remark;
 
}