9 小时以前 4d15fa8051884869c5b612d0641508874cc71811
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
47
48
49
50
package cn.iocoder.yudao.module.srm.controller.admin.certificate.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDate;
 
@Schema(description = "管理后台 - SRM 供应商资质证书创建/更新 Request VO")
@Data
public class SrmSupplierCertificateSaveReqVO {
 
    @Schema(description = "证书ID", example = "1")
    private Long id;
 
    @Schema(description = "供应商ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "供应商ID不能为空")
    private Long supplierId;
 
    @Schema(description = "证书类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "证书类型不能为空")
    private Integer certificateType;
 
    @Schema(description = "证书名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ISO9001质量管理体系")
    @NotEmpty(message = "证书名称不能为空")
    private String certificateName;
 
    @Schema(description = "证书编号", example = "ISO9001-2020-XXXX")
    private String certificateNo;
 
    @Schema(description = "文件名", example = "iso9001_cert.pdf")
    private String fileName;
 
    @Schema(description = "文件地址", example = "https://example.com/files/xxx.pdf")
    private String fileUrl;
 
    @Schema(description = "发证机构", example = "中国质量认证中心")
    private String issuingAuthority;
 
    @Schema(description = "有效期开始", example = "2024-01-01")
    private LocalDate validStartDate;
 
    @Schema(description = "有效期结束", example = "2027-01-01")
    private LocalDate validEndDate;
 
    @Schema(description = "备注", example = "年度资质审核")
    private String remark;
 
}