2026-07-09 d41fe2e95f3f64c6e3a7229acd9e74e673513a0a
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
37
38
39
40
41
42
43
44
45
46
package cn.iocoder.yudao.module.mes.controller.admin.pd.document.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 设计资料新增/修改 Request VO")
@Data
public class MesPdDocumentSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "设计项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "设计项目ID不能为空")
    private Long projectId;
 
    @Schema(description = "资料类型", example = "drawing")
    private String documentType;
 
    @Schema(description = "资料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "产品设计图")
    @NotBlank(message = "资料名称不能为空")
    private String documentName;
 
    @Schema(description = "版本", example = "V1.0")
    private String documentVersion;
 
    @Schema(description = "文件名", example = "design_v1.pdf")
    private String fileName;
 
    @Schema(description = "上传人", example = "1")
    private Long uploadUserId;
 
    @Schema(description = "上传时间")
    private LocalDateTime uploadTime;
 
    @Schema(description = "文件URL", example = "https://xxx/file.pdf")
    private String fileUrl;
 
    @Schema(description = "备注", example = "测试备注")
    private String remark;
 
}