37 lines
943 B
Python
37 lines
943 B
Python
from ApiValidations.Request import BaseModelRegular
|
|
|
|
|
|
class RegisterServices2OccupantValidation:
|
|
tr = {
|
|
"service_uu_id": "Hizmet UUID",
|
|
"occupant_uu_id": "Müşteri UUID",
|
|
"build_part_uu_id": "Bina Parça UUID",
|
|
}
|
|
en = {
|
|
"service_uu_id": "Service UUID",
|
|
"occupant_uu_id": "Occupant UUID",
|
|
"build_part_uu_id": "Building Part UUID",
|
|
}
|
|
|
|
|
|
class RegisterServices2Occupant(BaseModelRegular, RegisterServices2OccupantValidation):
|
|
service_uu_id: str
|
|
occupant_uu_id: str
|
|
build_part_uu_id: str
|
|
|
|
|
|
class RegisterServices2EmployeeValidation:
|
|
tr = {
|
|
"service_uu_id": "Hizmet UUID",
|
|
"employee_uu_id": "Personel UUID",
|
|
}
|
|
en = {
|
|
"service_uu_id": "Service UUID",
|
|
"employee_uu_id": "Employee UUID",
|
|
}
|
|
|
|
|
|
class RegisterServices2Employee(BaseModelRegular, RegisterServices2EmployeeValidation):
|
|
service_uu_id: str
|
|
employee_uu_id: str
|