from popol.db.sqlmodel import models
from sqlmodel import Field


class Account(models.Model, table=True):
    username: str = Field(max_length=255, nullable=False)
    password: str = Field(max_length=255, nullable=False)


class Counter(models.Model, table=True):
    value: int

sqlmodel.Field
[((127, 164), 'sqlmodel.Field', 'Field', ([], {'max_length': '(255)', 'nullable': '(False)'}), '(max_length=255, nullable=False)\n', (132, 164), False, 'from sqlmodel import Field\n'), ((185, 222), 'sqlmodel.Field', 'Field', ([], {'max_length': '(255)', 'nullable': '(False)'}), '(max_length=255, nullable=False)\n', (190, 222), False, 'from sqlmodel import Field\n')]