"""اسکیماهای TenantMembership."""
from __future__ import annotations

from datetime import datetime
from uuid import UUID

from app.models.enums import MembershipStatus, TenantMembershipRole
from app.schemas.common import ORMModel


class MembershipRead(ORMModel):
    id: UUID
    tenant_id: UUID
    user_id: UUID
    role: TenantMembershipRole
    status: MembershipStatus
    is_owner: bool
    created_at: datetime
    updated_at: datetime
