service_man/api/application/contracts/company/company_request.py

15 lines
220 B
Python
Raw Permalink Normal View History

2024-04-08 17:32:50 +03:00
from dataclasses import dataclass
2024-04-21 23:46:17 +03:00
from uuid import UUID
@dataclass(frozen=True)
class CreateNewCompany:
name: str
email: str
address: str
2024-04-08 17:32:50 +03:00
@dataclass(frozen=True)
class CompanyByOwnerEmail:
email: str