27 lines
516 B
Python
27 lines
516 B
Python
from datetime import datetime
|
|
from uuid import UUID
|
|
|
|
from app.schemas.base import CamelModel
|
|
|
|
|
|
class JournalEntryCreate(CamelModel):
|
|
boss_result_id: int | None = None
|
|
title: str
|
|
body: str
|
|
|
|
|
|
class JournalEntryUpdate(CamelModel):
|
|
boss_result_id: int | None = None
|
|
title: str | None = None
|
|
body: str | None = None
|
|
|
|
|
|
class JournalEntryResponse(CamelModel):
|
|
id: UUID
|
|
run_id: int
|
|
boss_result_id: int | None
|
|
title: str
|
|
body: str
|
|
created_at: datetime
|
|
updated_at: datetime
|