PamGram/modules/wiki/models/material.py
2023-04-26 16:48:05 +08:00

20 lines
316 B
Python

# 材料
from pydantic import BaseModel
from .enums import Quality, MaterialType
class Material(BaseModel):
id: int
"""材料ID"""
name: str
"""名称"""
desc: str
"""介绍"""
icon: str
"""图标"""
quality: Quality
"""稀有度"""
type: MaterialType
"""类型"""