mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-22 22:37:24 +00:00
37 lines
701 B
Python
37 lines
701 B
Python
"""Starrail base character model."""
|
|
|
|
from pydantic import Field
|
|
|
|
from simnet.models.base import APIModel
|
|
|
|
|
|
class ZZZBaseCharacter(APIModel):
|
|
"""Base character model."""
|
|
|
|
id: int
|
|
element_type: int
|
|
rarity: str
|
|
group_icon_path: str
|
|
hollow_icon_path: str
|
|
|
|
|
|
class ZZZPartialCharacter(ZZZBaseCharacter):
|
|
"""Character without any equipment."""
|
|
|
|
name: str = Field(alias="name_mi18n")
|
|
full_name: str = Field(alias="full_name_mi18n")
|
|
camp_name: str = Field(alias="camp_name_mi18n")
|
|
avatar_profession: int
|
|
level: int
|
|
rank: int
|
|
|
|
|
|
class ZZZBaseBuddy(APIModel):
|
|
"""Base Buddy model."""
|
|
|
|
id: int
|
|
name: str
|
|
rarity: str
|
|
level: int
|
|
star: int
|