Files
lm_code/models/xstart.py

17 lines
388 B
Python
Raw Normal View History

2025-11-19 15:15:50 +08:00
from peewee import *
2025-11-19 15:59:38 +08:00
from models import db1
2025-11-19 15:15:50 +08:00
2025-11-19 15:59:38 +08:00
class Xstart(Model):
2025-11-19 15:15:50 +08:00
id = AutoField(primary_key=True) # 自增主键
bit_id = IntegerField(null=True)
2025-11-20 10:48:28 +08:00
start = IntegerField(null=True)
2025-11-19 15:15:50 +08:00
x_id = IntegerField(null=True)
ip_id = IntegerField(null=True)
2025-11-20 10:48:28 +08:00
url_id = CharField(null=True)
2025-11-19 15:15:50 +08:00
class Meta:
database = db1 # 所属数据库
table_name = 'xstart'