| | |
| | | @ApiModel(value = "Platform表单", description = "平台运行监控表单") |
| | | public class PlatformForm extends AbsForm { |
| | | |
| | | @NotBlank(message = "平台名称不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("平台名称") |
| | | private String platformName; |
| | | |
| | | /** 子级平台名称 */ |
| | | @ApiModelProperty("平台名称") |
| | | private String subPlatformName; |
| | | |
| | | @NotBlank(message = "平台IP不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("平台IP") |
| | | private String platformIP; |
| | | |
| | | @ApiModelProperty("行政区域") |
| | | private String area; |
| | | private List<String> areaList; |
| | | |
| | | // @NotBlank(message = "平台联系人不能为空", groups = {Add.class, Update.class}) |
| | | // @ApiModelProperty("平台联系人") |
| | |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("部署平台列表,一个平台可部署到多个区县") |
| | | private List<Platform> deployList; |
| | | // @ApiModelProperty("部署平台列表,一个平台可部署到多个区县") |
| | | // private List<Platform> deployList; |
| | | |
| | | public static Platform getEntityByForm(@NonNull PlatformForm form, Platform entity) { |
| | | if(entity == null) { |