"""Tenant schemas."""

from __future__ import annotations

from pydantic import BaseModel, Field


class TenantCreate(BaseModel):
    name: str = Field(..., min_length=1, max_length=200)
    slug: str = Field(..., min_length=1, max_length=100)


class TenantResponse(BaseModel):
    id: str
    name: str
    slug: str


class TenantUserAssign(BaseModel):
    user_id: str = Field(..., min_length=1)
