package ervu_dashboard.component.filter;

import model.filter.FilterableReference;

import ru.cg.webbpm.modules.database.bean.annotation.GraphSource;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;

/**
 * @author Vitaly Chekushkin
 */
public class GraphFilterReference extends AbstractFilterReference {

  @NotNull
  @GraphSource(
      value = FilterableReference.class,
      scanMode = GraphSource.ScanMode.SELF
  )
  public EntityColumn columnForFilter;

  @Override
  protected EntityColumn getEntityColumn() {
    return columnForFilter;
  }
}
