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 WeChatToken : TableEntity
    { 
        // 网页授权接口调用凭证
        public string access_token { get; set; }
        // 凭证有效时长
        public int expires_in { get; set; }
        // 用于刷新凭证
        public string refresh_token { get; set; }
        // 用户标识
        public string openid { get; set; }
        // 用户授权作用域
        public string scope { get; set; }
    }
}
