SyncAPI/models/saves.py
2023-01-18 14:25:22 +01:00

16 lines
273 B
Python

from pydantic import BaseModel
class StardewSaveData(BaseModel):
farmer: str
money: int
played: int
save_time: int
year: int
season: int
day: int
class StardewSave(BaseModel):
id: int
device: str
date: int
data: StardewSaveData