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
|
2023-01-19 14:47:18 +02:00
|
|
|
game_version: str
|
2023-01-18 15:25:22 +02:00
|
|
|
|
|
|
|
class StardewSave(BaseModel):
|
|
|
|
id: int
|
|
|
|
device: str
|
|
|
|
date: int
|
2023-01-23 11:36:28 +02:00
|
|
|
data: StardewSaveData
|
|
|
|
|
|
|
|
class StardewSaveBrief(BaseModel):
|
|
|
|
id: int
|
|
|
|
farmer: str
|