PamGram/app/user/models.py
2022-07-26 18:07:31 +08:00

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