MibooGram/app/user/models.py

12 lines
412 B
Python
Raw Normal View History

from model.base import RegionEnum
2022-07-26 10:07:31 +00:00
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,
region: RegionEnum = RegionEnum.NULL):
2022-07-26 10:07:31 +00:00
self.user_id = user_id
self.yuanshen_game_uid = yuanshen_game_uid
self.genshin_game_uid = genshin_game_uid
self.region = region