Files
PVHBackend/module/product.py
T

9 lines
149 B
Python

from pydantic import BaseModel
from dataclasses import dataclass
@dataclass
class Product(BaseModel):
id: int
name: str
image_path: str