versione 1.0

This commit is contained in:
2026-05-23 22:50:13 +02:00
parent f8e6daa084
commit 57367b75c8
48 changed files with 1073 additions and 433 deletions

View File

@@ -0,0 +1,17 @@
from pydantic import BaseModel, Field
class BookingRequestCreate(BaseModel):
name: str = Field(min_length=2, max_length=120)
phone: str = Field(min_length=5, max_length=40)
pet_name: str = Field(default="", max_length=120)
pet_type: str = Field(default="cane", max_length=40)
service: str = Field(min_length=2, max_length=120)
date: str = Field(min_length=8, max_length=20)
time: str = Field(default="", max_length=20)
notes: str = Field(default="", max_length=2000)
class BookingRequestResponse(BaseModel):
success: bool = True
message: str