Skip to content

Уведомление

itd.models.notification

Notification

Bases: BaseModel

actor

created_at

created_at: datetime = Field(alias='createdAt')

id

id: UUID

preview

preview: str | None = None

read

read: bool = False

read_at

read_at: datetime | None = Field(None, alias='readAt')

target_id

target_id: UUID | None = Field(None, alias='targetId')

target_type

target_type: NotificationTargetType | None = Field(None, alias='targetType')

type