TestFastApi/core/models/product.py

10 lines
166 B
Python
Raw Permalink Normal View History

2024-08-06 03:03:49 +00:00
from sqlalchemy.orm import Mapped
from core.models.base import Base
class Product(Base):
name: Mapped[str]
description: Mapped[str]
price: Mapped[int]