xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
package cn.iocoder.yudao.module.mes.controller.admin.pd.basedata.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - 用电类型基础信息新增/修改 Request VO")
@Data
public class MesPdElectricityTypeSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "类型编码")
    private String code;
 
    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型名称不能为空")
    private String name;
 
    @Schema(description = "类型说明")
    private String description;
 
    @Schema(description = "排序")
    private Integer sort;
 
    @Schema(description = "启用状态(1启用/0禁用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用状态不能为空")
    private Integer status;
 
}