from tea.models.basesqlalchemy import Base, Helper
from tea.models.origins import Origins
from sqlalchemy import Column, Integer, String, ForeignKey
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.orm import relationship, backref


class Tea(Base, Helper):
    __tablename__ = 'kinds'
    name = Column(String)
    flavors = Column(String)
    origin_id = Column(Integer, ForeignKey('origins.id'))
    origin = relationship('Origins', backref=backref('kinds'))

    def to_dict(self):
        return super(Tea, self).to_dict()

448edd2833f93bdc87ca621db02efafb69b2ab01
<mask token>

<mask token>


class Tea(Base, Helper):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def to_dict(self):
        return super(Tea, self).to_dict()

<mask token>


class Tea(Base, Helper):
    __tablename__ = 'kinds'
    name = Column(String)
    flavors = Column(String)
    origin_id = Column(Integer, ForeignKey('origins.id'))
    origin = relationship('Origins', backref=backref('kinds'))

    def to_dict(self):
        return super(Tea, self).to_dict()

from tea.models.basesqlalchemy import Base, Helper
from tea.models.origins import Origins
from sqlalchemy import Column, Integer, String, ForeignKey
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.orm import relationship, backref


class Tea(Base, Helper):
    __tablename__ = 'kinds'
    name = Column(String)
    flavors = Column(String)
    origin_id = Column(Integer, ForeignKey('origins.id'))
    origin = relationship('Origins', backref=backref('kinds'))

    def to_dict(self):
        return super(Tea, self).to_dict()
