feat: завершить проект — добавить недостающие файлы, тесты и CI/CD

This commit is contained in:
2026-07-03 13:28:19 +00:00
parent ec2e9bf508
commit 0025e39e2d
20 changed files with 693 additions and 46 deletions
+14
View File
@@ -0,0 +1,14 @@
"""Схемы escrow-транзакций."""
from pydantic import BaseModel, Field
class EscrowCreate(BaseModel):
project_id: str = Field(..., description="ID проекта")
client_id: str = Field(..., description="ID клиента")
freelancer_id: str = Field(..., description="ID фрилансера")
amount: float = Field(..., gt=0, description="Сумма в рублях")
class EscrowRelease(BaseModel):
transaction_id: str = Field(..., description="ID транзакции")