Commit 952b0dbbd9c98e689ab17855fe784a7e747b20da

Authored by 云中非
1 parent 4f7107ab

feat: 组态新增适用平台类型字段

... ... @@ -22,9 +22,15 @@ public class ConfigurationCenterDTO extends TenantDTO {
22 22
23 23 @ApiModelProperty(value = "组织ID", required = true)
24 24 @NotEmpty(
25   - message = "组织ID不能为空或空字符串",
26   - groups = {UpdateGroup.class, AddGroup.class})
  25 + message = "组织ID不能为空或空字符串",
  26 + groups = {UpdateGroup.class, AddGroup.class})
27 27 private String organizationId;
28 28
  29 + @ApiModelProperty(value = "终端类型", required = true)
  30 + @NotEmpty(
  31 + message = "终端类型不能为空或空字符串",
  32 + groups = {UpdateGroup.class, AddGroup.class})
  33 + private String platform;
  34 +
29 35 private OrganizationDTO organizationDTO;
30 36 }
... ...
... ... @@ -13,4 +13,5 @@ public class ConfigurationCenter extends TenantBaseEntity {
13 13 private String name;
14 14 private String remark;
15 15 private String organizationId;
  16 + private String platform;
16 17 }
... ...