Files
zhenxun_bot/plugins/open_cases/models/buff_prices.py
T

24 lines
529 B
Python
Raw Normal View History

2021-07-30 21:21:51 +08:00
from tortoise import fields
2021-05-20 18:37:51 +08:00
from services.db_context import Model
2021-05-20 18:37:51 +08:00
# 1.狂牙武器箱
class BuffPrice(Model):
2021-05-20 18:37:51 +08:00
id = fields.IntField(pk=True, generated=True, auto_increment=True)
"""自增id"""
case_id = fields.IntField()
"""箱子id"""
skin_name = fields.CharField(255, unique=True)
"""皮肤名称"""
skin_price = fields.FloatField()
"""皮肤价格"""
update_date = fields.DatetimeField()
2021-05-20 18:37:51 +08:00
class Meta:
table = "buff_prices"
table_description = "Buff价格数据表"