eight
2024-09-06 857372192248bd9daf6fdf5906c7621555b21cc6
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
package cn.lihu.jh.module.ecg.controller.admin.devmanage.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
 
@Schema(description = "管理后台 - 设备型号新增/修改 Request VO")
@Data
public class DevModelSaveReqVO {
 
    private Integer id;
 
    @Schema(description = "分类名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "分类名不能为空")
    private String category;
 
    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "品牌不能为空")
    private String brand;
 
    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "型号不能为空")
    private String model;
 
}