from typing import Optional
import uuid as uuid_pkg
from sqlmodel import SQLModel, Field
from datetime import datetime

class BaseUUIDModel(SQLModel):
    id: uuid_pkg.UUID = Field(
        default_factory=uuid_pkg.uuid4,
        primary_key=True,
        index=True,
        nullable=False,
    )
    updated_at: Optional[datetime]
    created_at: Optional[datetime]
sqlmodel.Field
[((175, 262), 'sqlmodel.Field', 'Field', ([], {'default_factory': 'uuid_pkg.uuid4', 'primary_key': '(True)', 'index': '(True)', 'nullable': '(False)'}), '(default_factory=uuid_pkg.uuid4, primary_key=True, index=True,\n    nullable=False)\n', (180, 262), False, 'from sqlmodel import SQLModel, Field\n')]