from typing import Optional
from api_validations.core_validations import BaseModelRegular
from api_validations.validations_request import (
    PydanticBaseModel,
    ListOptions,
)


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] = []
    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] = []
    build_part_uu_id: Optional[str] = None
    occupant_uu_id: Optional[str] = None
