from datetime import datetime

from pydantic import BaseModel


class NotificationEntity(BaseModel):
    id: int
    title: str | None
    body: str | None
    is_read: bool
    create_diff_day: str | None
    created_at: datetime
