feat: add board goal schemas and validation

This commit is contained in:
Abhimanyu Saharan
2026-02-05 14:40:48 +05:30
parent 89d2428252
commit c58117c494
6 changed files with 137 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
from __future__ import annotations
from datetime import datetime
from uuid import UUID
from sqlmodel import SQLModel
class BoardMemoryCreate(SQLModel):
content: str
tags: list[str] | None = None
source: str | None = None
class BoardMemoryRead(BoardMemoryCreate):
id: UUID
board_id: UUID
created_at: datetime