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

17 lines
640 B
Python

from peewee import *
from models import db, BaseModel
class Blum(BaseModel):
id = AutoField(primary_key=True)
phone = CharField(max_length=50, unique=True)
point = IntegerField(default=0)
check_date = DateTimeField(null=True, help_text='每天签到时间')
referer_code = CharField(max_length=50, null=True, help_text='邀请码')
referer_code_count = IntegerField(default=0, help_text='邀请码使用次数')
address = CharField(max_length=100, null=True, help_text='钱包地址')
mnemonic = TextField(null=True, help_text='助记词')
class Meta:
database = db
table_name = 'blum'