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
| package com.moral.api.pojo.form.device;
|
| import lombok.Data;
| import org.springframework.util.ObjectUtils;
|
| /**
| * @ClassName QueryMonitorPointsAndDevicesForm
| * @Description TODO
| * @Author 陈凯裕
| * @Date 2021/7/1 11:55
| * @Version TODO
| **/
| @Data
| public class MonitorPointQueryForm {
| /*
| * 组织id
| * */
| Integer organizationId;
|
| /*
| * 地区code
| * */
| Integer regionCode;
|
| public boolean valid(){
| if(ObjectUtils.isEmpty(organizationId)||ObjectUtils.isEmpty(regionCode))
| return false;
| return true;
| }
| }
|
|