mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-26 10:16:32 +00:00
12 lines
442 B
Python
12 lines
442 B
Python
from model.base import ServiceEnum
|
|
from model.baseobject import BaseObject
|
|
|
|
|
|
class User(BaseObject):
|
|
def __init__(self, user_id: int = 0, yuanshen_game_uid: int = 0, genshin_game_uid: int = 0,
|
|
default_service: ServiceEnum = ServiceEnum.NULL):
|
|
self.user_id = user_id
|
|
self.yuanshen_game_uid = yuanshen_game_uid
|
|
self.genshin_game_uid = genshin_game_uid
|
|
self.default_service = default_service
|