feat: add import

This commit is contained in:
2026-06-04 18:10:24 +03:00
parent aabea07293
commit e39358cee5

View File

@@ -3,11 +3,11 @@ from __future__ import annotations
from decimal import Decimal
from typing import Any
from pydantic import BaseModel, EmailStr, Field
from pydantic import BaseModel, Field
class CreateOrganizationRequest(BaseModel):
email: EmailStr
email: str = Field(min_length=3, max_length=255)
password: str = Field(min_length=8)
name: str = Field(min_length=1, max_length=512)
short_name: str | None = Field(default=None, max_length=256)