package cn.reghao.tnb.search.esapp.log.model.dto;

import cn.reghao.tnb.search.esapp.model.DateVerify;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author reghao
 * @date 2026-01-10 00:07:40
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
public class LogQuery {
    @NotBlank
    @DateVerify(dateFormat = "yyyy-MM-dd")
    private String dateStr;
    // aggregateField 和 url 只能同时存在一个
    private String aggregateField;
    private String url;
}
