from pydantic import BaseModel, Field
from typing import Optional


class GetSubjectResponse(BaseModel):
    id: str
    name: str
    alias: str
    description: Optional[str]

    class ConfigDict:
        from_attributes = True
        populate_by_name = True
