TestFastApi/core/models/product.py

10 lines
166 B
Python

from sqlalchemy.orm import Mapped
from core.models.base import Base
class Product(Base):
name: Mapped[str]
description: Mapped[str]
price: Mapped[int]