38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
from typing import Optional
|
||
from api_validations.core_validations import BaseModelRegular
|
||
|
||
|
||
class RegisterEvents2EmployeeValidation:
|
||
tr = {
|
||
"event_uu_id_list": "Etkinlikler Listesi",
|
||
"employee_uu_id": "Çalışan UU ID",
|
||
}
|
||
en = {
|
||
"event_uu_id_list": "Event List",
|
||
"employee_uu_id": "Employee UU ID",
|
||
}
|
||
|
||
|
||
class RegisterEvents2Employee(BaseModelRegular, RegisterEvents2EmployeeValidation):
|
||
event_uu_id_list: list[str] = None
|
||
employee_uu_id: Optional[str] = None
|
||
|
||
|
||
class RegisterEvents2OccupantValidation:
|
||
tr = {
|
||
"event_uu_id_list": "Etkinlikler Listesi",
|
||
"build_part_uu_id": "Bina Parça UU ID",
|
||
"occupant_uu_id": "Apartman Sakini UU ID",
|
||
}
|
||
en = {
|
||
"event_uu_id_list": "Event List",
|
||
"build_part_uu_id": "Building Part UU ID",
|
||
"occupant_uu_id": "Occupant UU ID",
|
||
}
|
||
|
||
|
||
class RegisterEvents2Occupant(BaseModelRegular, RegisterEvents2OccupantValidation):
|
||
event_uu_id_list: list[str] = None
|
||
build_part_uu_id: Optional[str] = None
|
||
occupant_uu_id: Optional[str] = None
|