PamGram/modules/wiki/models/light_cone.py

30 lines
486 B
Python
Raw Normal View History

2023-04-26 08:48:05 +00:00
# 光锥
from pydantic import BaseModel
2023-08-29 06:03:21 +00:00
class YattaLightConePath(BaseModel):
id: str
name: str
2023-04-26 08:48:05 +00:00
2023-08-29 06:03:21 +00:00
class YattaLightConeTypes(BaseModel):
pathType: YattaLightConePath
2023-04-26 08:48:05 +00:00
2023-08-29 06:03:21 +00:00
class YattaLightCone(BaseModel):
2023-04-26 08:48:05 +00:00
id: int
""""光锥ID"""
name: str
"""名称"""
2023-08-29 06:03:21 +00:00
description: str
2023-04-26 08:48:05 +00:00
"""描述"""
2023-08-29 06:03:21 +00:00
icon: str = ""
2023-04-26 08:48:05 +00:00
"""图标"""
2023-08-29 06:03:21 +00:00
big_pic: str = ""
2023-04-26 08:48:05 +00:00
"""大图"""
2023-08-29 06:03:21 +00:00
rank: int
2023-04-26 08:48:05 +00:00
"""稀有度"""
2023-08-29 06:03:21 +00:00
types: YattaLightConeTypes
2023-04-26 08:48:05 +00:00
"""命途"""
2023-08-29 06:03:21 +00:00
route: str