2023-08-11 22:47:08 +02:00
|
|
|
from sqlalchemy import Column, Integer, String
|
2023-08-10 22:46:36 +02:00
|
|
|
|
2023-08-12 00:20:51 +02:00
|
|
|
from db.database import Base
|
2023-08-10 22:46:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Item(Base):
|
|
|
|
__tablename__ = "item"
|
|
|
|
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
|
|
title = Column(String, index=True)
|
|
|
|
description = Column(String, index=True)
|