41 lines
1013 B
Python
41 lines
1013 B
Python
from api_validations.core_validations import BaseModelRegular
|
||
from api_validations.validations_request import (
|
||
PydanticBaseModel,
|
||
ListOptions,
|
||
)
|
||
|
||
|
||
class RegisterModules2OccupantValidation:
|
||
tr = {
|
||
"modules_uu_id": "Modül Listesi",
|
||
"occupant_uu_id": "Mülk Sahibi",
|
||
"build_part_uu_id": "Daire UUID",
|
||
}
|
||
en = {
|
||
"modules_uu_id": "Module List",
|
||
"occupant_uu_id": "Occupant",
|
||
"build_part_uu_id": "Flat UUID",
|
||
}
|
||
|
||
|
||
class RegisterModules2Occupant(BaseModelRegular, RegisterModules2OccupantValidation):
|
||
modules_uu_id: str
|
||
occupant_uu_id: str
|
||
build_part_uu_id: str
|
||
|
||
|
||
class RegisterModules2EmployeeValidation:
|
||
tr = {
|
||
"modules_uu_id": "Modül Listesi",
|
||
"employee_uu_id": "Çalışan",
|
||
}
|
||
en = {
|
||
"modules_uu_id": "Module List",
|
||
"employee_uu_id": "Employee",
|
||
}
|
||
|
||
|
||
class RegisterModules2Employee(BaseModelRegular, RegisterModules2EmployeeValidation):
|
||
modules_uu_id: str
|
||
employee_uu_id: str
|