mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 01:36:57 +08:00
9 lines
255 B
Python
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)
|