package com.iailab.module.data.common;
|
|
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.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2024年11月03日
|
*/
|
@Data
|
@Tag(name = "值查询")
|
public class ApiDataQueryDTO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Schema(description = "itemNo")
|
@NotNull(message="itemNo不能为空")
|
private String itemNo;
|
|
@Schema(description = "itemNo")
|
@NotNull(message="itemNo不能为空")
|
private List<String> itemNos;
|
|
@Schema(description = "粒度")
|
@NotNull(message="粒度不能为空")
|
private Integer granularity;
|
|
@Schema(description = "开始时间")
|
@NotNull(message="start不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date start;
|
|
@Schema(description = "结束时间")
|
@NotNull(message="end不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date end;
|
}
|