提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.demo.vo; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.*; |
|
5 |
import java.util.*; |
|
6 |
import javax.validation.constraints.*; |
|
7 |
import java.util.*; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 分类新增/修改 Request VO") |
|
10 |
@Data |
|
11 |
public class InfraCategorySaveReqVO { |
|
12 |
|
|
13 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋头") |
|
17 |
@NotEmpty(message = "名字不能为空") |
|
18 |
private String name; |
|
19 |
|
|
20 |
@Schema(description = "父编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048") |
|
21 |
@NotNull(message = "父编号不能为空") |
|
22 |
private Long parentId; |
|
23 |
|
|
24 |
} |