refactor: add pool note

This commit is contained in:
guoyuqi 2023-07-18 14:41:01 +08:00 committed by fit2-zhao
parent 697375168a
commit ec787f13e5
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public class TestResourcePool implements Serializable {
@Size(min = 1, max = 255, message = "{test_resource_pool.name.length_range}", groups = {Created.class, Updated.class}) @Size(min = 1, max = 255, message = "{test_resource_pool.name.length_range}", groups = {Created.class, Updated.class})
private String name; private String name;
@Schema(title = "类型", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(title = "类型(node/k8s)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_resource_pool.type.not_blank}", groups = {Created.class}) @NotBlank(message = "{test_resource_pool.type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 30, message = "{test_resource_pool.type.length_range}", groups = {Created.class, Updated.class}) @Size(min = 1, max = 30, message = "{test_resource_pool.type.length_range}", groups = {Created.class, Updated.class})
private String type; private String type;