1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package com.tofly.scada.entity.dto;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.util.Date;
- @Data
- public class ScadaQuery {
- @ApiModelProperty(value = "开始时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- Date start;
- @ApiModelProperty(value = "结束时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- Date end;
- @ApiModelProperty(value = "指标编码")
- String code;
- @ApiModelProperty(value = "指标值")
- private String value;
- @ApiModelProperty(value = "表名",hidden = true)
- private String tableName;
-
- @ApiModelProperty(value = "统计类型:0小时统计 1天统计 2月统计 3年统计")
- private Integer statisticsType;
-
- @ApiModelProperty(value = "统计时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date startTime;
- }
|