from typing import Optional

from pydantic import BaseModel


class LogoutViewModel(BaseModel):
    subtitle: str = 'MeDaCA Logout'
    redirect_to: Optional[str]
    reason: Optional[str]
    link_text: Optional[str]
