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


class InsertBuildLivingSpace(BaseModelRegular):
    person_uu_id: str
    build_parts_uu_id: str
    occupant_type_uu_id: str
    expiry_starts: str
    expiry_ends: Optional[str] = None


class UpdateBuildLivingSpace(PydanticBaseModel):
    is_tenant_live: Optional[bool] = None
    build_parts_uu_id: Optional[str] = None
    person_uu_id: Optional[str] = None
