feat: Freelancer Match — AI-матчинг, escrow, milestones, portfolio, skill-tests, verification

This commit is contained in:
2026-07-03 15:03:30 +00:00
commit 0b785db1b3
61 changed files with 2725 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
"""Схемы отзывов и рейтингов."""
from pydantic import BaseModel, Field
class ReviewCreate(BaseModel):
project_id: str = Field(..., description="ID проекта")
reviewee_id: str = Field(..., description="ID того кого оценивают")
rating: int = Field(..., ge=1, le=5)
comment: str | None = Field(default=None, max_length=2000)
class ReviewResponse(BaseModel):
id: str
project_id: str
reviewer_name: str
reviewee_name: str
rating: int
comment: str | None
created_at: str