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 WeChatUser : TableEntity
    {/// <summary>
     /// 真实姓名
     /// </summary>
        public string fullName { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string nickName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int gender { get; set; }
        /// <summary>
        /// unionId
        /// </summary>
        public string unionId { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string avatarUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string countryId { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string country { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string provinceId { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string cityId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public long registerTime { get; set; }
        public string phoneCode { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string cellphone { get; set; }
        // 用户标识
        public string openId { get; set; }
        public string language { get; set; }
        public string appid { get; set; }
    }
}
