SyncAPI/models/saves.py

16 lines
273 B
Python
Raw Normal View History

2023-01-16 16:23:19 +02:00
from pydantic import BaseModel
2023-01-18 15:25:22 +02:00
class StardewSaveData(BaseModel):
2023-01-16 16:23:19 +02:00
farmer: str
money: int
played: int
save_time: int
2023-01-18 15:25:22 +02:00
year: int
season: int
day: int
class StardewSave(BaseModel):
id: int
device: str
date: int
data: StardewSaveData