mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-26 07:55:41 +00:00
26 lines
420 B
Python
26 lines
420 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
|
|
"""发现地点"""
|