mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-09 13:50:00 +08:00
feat✨: CSGO开箱
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from tortoise import fields
|
||||
|
||||
from zhenxun.services.db_context import Model
|
||||
|
||||
# 1.狂牙武器箱
|
||||
|
||||
|
||||
class BuffPrice(Model):
|
||||
|
||||
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()
|
||||
|
||||
class Meta:
|
||||
table = "buff_prices"
|
||||
table_description = "Buff价格数据表"
|
||||
Reference in New Issue
Block a user