| package com.moral.api.pojo.form.historyFiveMinutely; | 
|   | 
| import lombok.Data; | 
| import org.springframework.util.ObjectUtils; | 
|   | 
| /** | 
|  * @ClassName QueryFiveMinuteData | 
|  * @Description TODO | 
|  * @Author 陈凯裕 | 
|  * @Date 2021/7/15 16:46 | 
|  * @Version TODO | 
|  **/ | 
| @Data | 
| public class QueryDeviceAndFiveMinuteDataForm { | 
|   | 
|     private Integer organizationId; | 
|   | 
|     private Integer regionCode; | 
|   | 
|     private String sensorCode; | 
|   | 
|     public boolean valid(){ | 
|         if(ObjectUtils.isEmpty(organizationId)|| | 
|                 ObjectUtils.isEmpty(regionCode)|| | 
|                 ObjectUtils.isEmpty(sensorCode)) | 
|             return false; | 
|         return true; | 
|     } | 
|   | 
|   | 
| } |