PamGram/modules/wiki/models/material.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
316 B
Python
Raw Normal View History

2023-04-26 08:48:05 +00:00
# 材料
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
"""类型"""