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

15 lines
220 B
Python

from dataclasses import dataclass
from uuid import UUID
@dataclass(frozen=True)
class CreateNewCompany:
name: str
email: str
address: str
@dataclass(frozen=True)
class CompanyByOwnerEmail:
email: str