from app import db


class EventListGroup(db.Model):
    __tablename__ = 'event_list_group'
    id = db.Column(db.Integer, primary_key=True)
    event_id = db.Column(db.Integer, db.ForeignKey('event.id'))
    list_group_id = db.Column(db.Integer, db.ForeignKey('list_group.id'))
    event = db.relationship('Event', backref='event_list_group')
    list_group = db.relationship('ListGroup', backref='event_list_group')

    def __init__(self, event_id, list_group_id):
        self.event_id = event_id
        self.list_group_id = list_group_id

ebc93c794698bbd8a4409f9f902e66c97adab5d8
<mask token>

<mask token>


class EventListGroup(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, event_id, list_group_id):
        self.event_id = event_id
        self.list_group_id = list_group_id

<mask token>


class EventListGroup(db.Model):
    __tablename__ = 'event_list_group'
    id = db.Column(db.Integer, primary_key=True)
    event_id = db.Column(db.Integer, db.ForeignKey('event.id'))
    list_group_id = db.Column(db.Integer, db.ForeignKey('list_group.id'))
    event = db.relationship('Event', backref='event_list_group')
    list_group = db.relationship('ListGroup', backref='event_list_group')

    def __init__(self, event_id, list_group_id):
        self.event_id = event_id
        self.list_group_id = list_group_id

from app import db


class EventListGroup(db.Model):
    __tablename__ = 'event_list_group'
    id = db.Column(db.Integer, primary_key=True)
    event_id = db.Column(db.Integer, db.ForeignKey('event.id'))
    list_group_id = db.Column(db.Integer, db.ForeignKey('list_group.id'))
    event = db.relationship('Event', backref='event_list_group')
    list_group = db.relationship('ListGroup', backref='event_list_group')

    def __init__(self, event_id, list_group_id):
        self.event_id = event_id
        self.list_group_id = list_group_id
