package com.influx.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.time.Instant;

@Data
public class SyslogQueryDto {

    @NotBlank(message = "开始时间不能为空")
    private String startTime;

    @NotBlank(message = "结束时间不能为空")
    private String endTime;

    private String deviceId;

    @Size(max = 32, message = "搜索关键字长度不能超过32个字符")
    private String keyword;

    @NotBlank(message = "UUID不能为空")
    private String uuid;
}
