package com.iailab.module.data.api.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2023年05月02日 12:24:00
|
*/
|
@Data
|
@Tag(name = "实时值查询")
|
public class ApiTagValueQueryDTO {
|
|
@Schema(description = "tags")
|
@NotNull(message="不能为空")
|
private List<String> tagIds;
|
|
@Schema(description = "tagId")
|
private String tagId;
|
|
@Schema(description = "dataType")
|
private String dataType;
|
|
@Schema(description = "开始时间")
|
@NotNull(message="不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date start;
|
|
@Schema(description = "结束时间")
|
@NotNull(message="不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date end;
|
}
|