Initialize Aidoit v0.1 monorepo
CI / frontend (push) Canceled after 0s
CI / api (push) Canceled after 0s

This commit is contained in:
Pavel Kerndl
2026-07-27 18:27:37 +02:00
commit c0b013f067
65 changed files with 1323 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
from datetime import datetime
from typing import Literal
from pydantic import BaseModel, ConfigDict, Field
ProductType = Literal["web", "desktop", "msp"]
class ProjectCreate(BaseModel):
name: str = Field(min_length=1, max_length=120)
description: str = Field(default="", max_length=2000)
product: ProductType = "web"
class ProjectRead(ProjectCreate):
model_config = ConfigDict(from_attributes=True)
id: int
created_at: datetime