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

20 lines
922 B
Python
Raw 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 models import db, BaseModel
from peewee import *
class WalletAddressSui(BaseModel):
id = AutoField(primary_key=True)
address = CharField(max_length=255, null=True)
private_key = CharField(max_length=255, null=True)
words = CharField(max_length=255, null=True)
tg_id = IntegerField(default=0, null=False)
server_ip = CharField(max_length=255, null=True, verbose_name='服务器ip', constraints=[SQL('DEFAULT NULL')])
ld_name = CharField(max_length=255, null=True, verbose_name='模拟器名称', constraints=[SQL('DEFAULT NULL')])
stast = IntegerField(null=True, verbose_name='绑定状态0使用中1绑定成功')
logged_in_wallet_time = CharField(max_length=255, null=True, verbose_name='绑定钱包时间',
constraints=[SQL('DEFAULT NULL')])
class Meta:
database = db
table_name = 'wallet_address_sui'