from sqlalchemy import Column, Integer, String, Float

from app.database.base_class import Base


class Product(Base):
    id = Column(Integer, primary_key=True, index=True)
    name = Column(String, nullable=False)
    price = Column(Float, nullable=False)

[(7, 'sqlalchemy.Column', 'Column', False, 'from sqlalchemy import Column, Integer, String, Float\n'), (8, 'sqlalchemy.Column', 'Column', False, 'from sqlalchemy import Column, Integer, String, Float\n'), (9, 'sqlalchemy.Column', 'Column', False, 'from sqlalchemy import Column, Integer, String, Float\n')]