Files
tg_code/job_models/warpcast.py
Administrator 37e9d4038c gfregfregfr
2025-11-12 12:50:39 +08:00

27 lines
1.5 KiB
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 peewee import *
# 假设 db 已经在其他地方定义并连接到数据库
from models import db
class Warpcast(Model):
id = AutoField(primary_key=True) # 自增主键
ld_name = CharField(max_length=255, null=True) # LD 名称,最大长度 255可为空
ld_id = IntegerField(null=True) # LD ID整型可为空
text = CharField(max_length=255, null=True) # 文本内容,最大长度 255可为空
address = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
bit_id = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
login_start = IntegerField(null=True) # 地址,最大长度 255可为空
token = CharField(max_length=999, null=True) # 地址,最大长度 255可为空
fraction = CharField(max_length=999, null=True) # 地址,最大长度 255可为空
x_token = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
x_start = IntegerField(null=True) # 地址,最大长度 255可为空
mumu_name = IntegerField(null=True) # 地址,最大长度 255可为空
account = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
password = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
two_fa = CharField(max_length=255, null=True) # 地址,最大长度 255可为空
class Meta:
database = db # 所属数据库
table_name = 'warpcast' # 表名