

using System;
using Sentry;

namespace _Combo
{
    public class UserModel
    {
        public string comboId = "";
        public string idp = "";
        public string identityToken = "";
        public string externalId = "";
        public string externalName = "";
        public int expiresAt = 0;
        public bool realNameRequired = true;
        public string realNameTicket = "";
        public bool activationRequired = false;
        public string activationTicket = "";
        public int? fangchenmiTtl = null;

        public bool IsLogin()
        {
            return comboId != "";
        }

        public void Clear()
        {
            comboId = "";
            externalId = "";
            externalName = "";
            identityToken = "";
            expiresAt = 0;
            realNameRequired = true;
            realNameTicket = "";
            fangchenmiTtl = null;
        }
    }
}
