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 MiniAPPLoginInfo:TableEntity
    {
        public string openid { get; set; }
        public string session_key { get; set; }
        public string unionid { get; set; }
        /// <summary>
        /// -1      系统繁忙，此时请开发者稍候再试  
        /// 0       请求成功  
        /// 40029   code 无效  
        /// 45011   频率限制，每个用户每分钟100次
        /// </summary>
        public int errcode { get; set; }
        public string errmsg { get; set; }
    }
}
