Files
SQLBot/backend/apps/system/models/user.py
T
2025-04-23 21:14:42 +08:00

9 lines
255 B
Python

from sqlmodel import SQLModel, Field
class sys_user(SQLModel, table=True):
id: int = Field(primary_key=True, index=True)
account: str = Field(max_length=255, unique=True)
password: str = Field(max_length=255)
oid: int = Field(default=1)