using MessagePack;
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Text;
using TEAMModelOS.SDK.Context.Attributes.Azure;

namespace HiTeachCC.Model.Core.Models
{
    [TableSpace(Name = "Core")]
    [MessagePackObject(keyAsPropertyName: true)]
    public class LoginInfo : TableEntity
    {
        public string TeamModelId { get; set; }
      //  public string Phone { get; set; }
        public string Ticket { get; set; }
        public string Name { get; set; }
        public string Token { get; set; }
       // public string CountryCode { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public long LoginTime { get; set; }
        /// <summary>
        /// 超时时间
        /// </summary>
        public long Timeout { get; set; }
        /// <summary>
        /// 到期时间
        /// </summary>
        public long Expires { get; set; }
        /// <summary>
        /// 作用域
        /// </summary>
        public string Scope { get; set; }
    }
}
