from dataclasses import dataclass @dataclass class Product: id: str name: str category: str min_stock: int optimal_stock: int