Files
fairhopper/hopper/models/product.py
2023-03-30 18:53:24 +02:00

9 lines
160 B
Python

from dataclasses import dataclass, field
import uuid
@dataclass
class Product:
name: str
uuid: str = field(default_factory=lambda: str(uuid.uuid4()))