|
@@ -4,20 +4,24 @@ import com.hfln.portal.common.vo.PageVo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
-import javax.validation.constraints.NotEmpty;
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
|
|
|
|
@Data
|
|
@Data
|
|
public class DeviceListQueryReq extends PageVo {
|
|
public class DeviceListQueryReq extends PageVo {
|
|
|
|
|
|
- @NotEmpty(message = "设备Id不能为空")
|
|
|
|
- @Schema(description = "设备ID", required = true)
|
|
|
|
|
|
+ @Schema(description = "设备ID")
|
|
private String clientId;
|
|
private String clientId;
|
|
|
|
|
|
- @Schema(description = "起始时间")
|
|
|
|
|
|
+ @Schema(description = "设备名称")
|
|
|
|
+ private String devName;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "设备状态: 0-离线,1-在线")
|
|
|
|
+ private Integer online;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "起始时间 格式yyyy-MM-dd")
|
|
private LocalDate createTimeStart;
|
|
private LocalDate createTimeStart;
|
|
|
|
|
|
- @Schema(description = "结束时间")
|
|
|
|
|
|
+ @Schema(description = "结束时间 格式yyyy-MM-dd")
|
|
private LocalDate createTimeEnd;
|
|
private LocalDate createTimeEnd;
|
|
|
|
|
|
}
|
|
}
|