Files
lm_code/models/ips.py

15 lines
308 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 Ips(Model):
2025-11-19 15:15:50 +08:00
id = IntegerField(primary_key=True)
host = CharField(null=True)
port = CharField(null=True)
username = CharField(null=True)
password = CharField(null=True)
class Meta:
database = db1
table_name = 'ips'