EnkaNetwork.py/enkanetwork/model/artifact.py
2022-06-22 13:14:31 +07:00

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")