Daedalus and Talos integration test
This commit is contained in:
26
backend/src/app/schemas/journal_entry.py
Normal file
26
backend/src/app/schemas/journal_entry.py
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
Reference in New Issue
Block a user