package com.common.entity.RuleContent;

import lombok.Data;
import java.util.List;

@Data
public class FilterParam {
    private List<FilterGroup> filtersParams;
}

@Data
class FilterGroup {
    private List<FilterExpression> expressions;
    private String filtersRelation;  // "and" 或 "or"
}

@Data
class FilterExpression {
    private String columnName;  // 字段名
    private String op;          // 操作符: =, !=, in, zero_len, contain, regexp
    private Object value;       // 值，可能是字符串、数组等
}