mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-25 23:49:11 +00:00
27 lines
421 B
Python
27 lines
421 B
Python
# 敌对物种
|
|
from pydantic import BaseModel
|
|
|
|
from .enums import MonsterType, Area
|
|
|
|
|
|
class Monster(BaseModel):
|
|
id: int
|
|
"""怪物ID"""
|
|
name: str
|
|
"""名称"""
|
|
desc: str
|
|
"""介绍"""
|
|
icon: str
|
|
"""图标"""
|
|
big_pic: str
|
|
"""大图"""
|
|
type: MonsterType
|
|
"""种类"""
|
|
area: Area
|
|
"""地区"""
|
|
resistance: str
|
|
"""抗性"""
|
|
find_area: str
|
|
"""发现地点"""
|
|
|