using Edu.Common.Enum.User;
using Edu.Model.ViewModel.System;
using System.Collections.Generic;

namespace Edu.Model.CacheModel
{
    /// <summary>
    /// 用户缓存
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 账号编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 学校编号
        /// </summary>
        public int School_Id { get; set; }

        /// <summary>
        /// 账号名称
        /// </summary>
        public string AccountName { get; set; }

        /// <summary>
        /// 账号类型(1-管理端，2,-教师端，3-助教，4-学生)
        /// </summary>
        public AccountTypeEnum AccountType { get; set; }

        /// <summary>
        /// 学校名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 集团名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// Token验证
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 菜单列表
        /// </summary>
        public List<MenuTree_ViewModel> MenuList { get; set; }

        /// <summary>
        /// 集团Logo
        /// </summary>
        public string GroupLogo { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserIcon { get; set; }
    }
}