

class Filter:

    def __init__(self, name, filter_type, items,query,hidden=False):
        self.name = name
        self.type = filter_type
        self.items = items
        self.query = query
        self.hidden = hidden


class FilterItem:

    def __init__(self, name, value, status, count,stars=0,range = {}):
        self.name = name
        self.value = value
        self.status = status
        self.count = count
        self.stars = stars
        self.range = range

