package com.ycwl.basic.integration.scenic.dto.filter;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

@Data
public class FilterCondition {
    @JsonProperty("configKey")
    @NotBlank(message = "配置键不能为空")
    private String configKey;
    
    @JsonProperty("configValue")
    @NotBlank(message = "配置值不能为空")
    private String configValue;
    
    @JsonProperty("operator")
    private String operator = "eq";
}