Files
to_session/models/tg_sui.py
Administrator a0720d80dc fefdwef
2025-11-12 12:54:37 +08:00

21 lines
911 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from peewee import *
# 假设 db 已经在其他地方定义并连接到数据库
from models import db, BaseModel
class TgSui(BaseModel):
id = IntegerField(primary_key=True) # 整型主键
tg_id = IntegerField(null=True) # Telegram ID整型可为空
url = CharField(max_length=255, null=True) # URL最大长度 255可为空
sui_wallet_id = IntegerField(null=True) # Sui 钱包 ID整型可为空
num = IntegerField(null=True) # Sui 钱包 ID整型可为空
phone = IntegerField(null=True) # Sui 钱包 ID整型可为空
address = IntegerField(null=True) # Sui 钱包 ID整型可为空
private_key = IntegerField(null=True) # Sui 钱包 ID整型可为空
words = IntegerField(null=True) # Sui 钱包 ID整型可为空
class Meta:
database = db # 所属数据库
table_name = 'tg_sui' # 表名