import { FilterItem } from './filter-item.model';

export class Filter {
  id: string;
  name: string;
  expanded: boolean;
  /**
   * undefined => all items can be selected => multiselect
   * if max is set to 3, 3 items ca be selected => multiselect
   * if max is set to 1 only one item can be selected => select
   */
  max?: number;
  items: FilterItem[];
}
