mirror of
https://github.com/nihilvux/bancho.py.git
synced 2025-09-16 02:28:38 -07:00
37 lines
521 B
Python
37 lines
521 B
Python
from __future__ import annotations
|
|
|
|
from datetime import datetime
|
|
|
|
from . import BaseModel
|
|
|
|
# input models
|
|
|
|
|
|
# output models
|
|
|
|
|
|
class Map(BaseModel):
|
|
id: int
|
|
server: str
|
|
set_id: int
|
|
status: int
|
|
md5: str
|
|
artist: str
|
|
title: str
|
|
version: str
|
|
creator: str
|
|
filename: str
|
|
last_update: datetime
|
|
total_length: int
|
|
max_combo: int
|
|
frozen: bool
|
|
plays: int
|
|
passes: int
|
|
mode: int
|
|
bpm: float
|
|
cs: float
|
|
ar: float
|
|
od: float
|
|
hp: float
|
|
diff: float
|