Files
bancho.py/app/api/v2/models/scores.py
2025-04-04 21:30:31 +09:00

37 lines
457 B
Python

from __future__ import annotations
from datetime import datetime
from . import BaseModel
# input models
# output models
class Score(BaseModel):
id: int
map_md5: str
userid: int
score: int
pp: float
acc: float
max_combo: int
mods: int
n300: int
n100: int
n50: int
nmiss: int
nkatu: int
grade: str
status: int
mode: int
play_time: datetime
time_elapsed: int
perfect: bool