package com.common.entity.RuleContent;


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

@Data
public class CompleteColumn {
    private String columnName;           // 要补全的字段名
    private Object value;                // 补全的值
    private String filtersRelation;      // 条件关系: "and" 或 "or"
    private List<Condition> conditions;  // 条件列表

    // 导入数据相关字段（扩展功能）
    private String importedDataTableName;
    private String filtersImportedRelation;
    private List<Condition> importedConditions;
    private List<CompleteColumn> completeImportedColumns;
}

@Data
class Condition {
    private String columnName;  // 条件字段名
    private String op;          // 操作符: =, !=, in, zero_len, contain, regexp
    private Object value;       // 条件值
}