"""
{{ schema_name }} schemas for {{ module_name }} module.
"""
from datetime import datetime
from typing import Optional
from pydantic import BaseModel, Field


class {{ SchemaName }}Base(BaseModel):
    """Base schema for {{ entity_name }}."""
    pass


class {{ SchemaName }}Create({{ SchemaName }}Base):
    """Schema for creating {{ entity_name }}."""
    pass


class {{ SchemaName }}Update({{ SchemaName }}Base):
    """Schema for updating {{ entity_name }}."""
    pass


class {{ SchemaName }}Response({{ SchemaName }}Base):
    """Schema for {{ entity_name }} response."""
    
    id: Optional[str] = None
    created_at: Optional[datetime] = None
    updated_at: Optional[datetime] = None
    
    class Config:
        from_attributes = True