mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 11:52:18 +00:00
11 lines
282 B
Python
11 lines
282 B
Python
|
from pydantic import BaseModel, Field
|
||
|
from typing import List
|
||
|
|
||
|
class ArtifactInfo(BaseModel):
|
||
|
level: int
|
||
|
mainPropId: int
|
||
|
appendPropIdList: List[int]
|
||
|
|
||
|
class Artifacts(BaseModel):
|
||
|
id: int = Field(0, alias="itemId")
|
||
|
data: ArtifactInfo = Field({}, alias="reliquary")
|