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

namespace Edu.Model.CacheModel
{
    /// <summary>
    /// 小程序学生用户缓存
    /// </summary>
    public class AppletStudentInfo
    {
        /// <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>
        /// 请求来源
        /// </summary>
        public ApiRequestFromEnum ApiRequestFromEnum { get; set; }

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


        /// <summary>
        /// 对应的账户id
        /// </summary>
        public int AccountId { 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 string CourseName { get; set; }

        /// <summary>
        /// 老师
        /// </summary>
        public string TeacherName { get; set; }

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

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


        /// <summary>
        /// 上传配置
        /// </summary>
        public object UploadConfig { get; set; }

        /// <summary>
        /// 激活状态
        /// </summary>
        public int ActivationStatus { get; set; }

        /// <summary>
        /// 是否冻结，1-是
        /// </summary>
        public int IsFrozen { get; set; }


        /// <summary>
        /// 服务人员电话
        /// </summary>
        public string EnterPhone { get; set; }


        /// <summary>
        /// 电商-token
        /// </summary>
        public string MallToken { get; set; }

        /// <summary>
        /// 电商-JHTenantId
        /// </summary>
        public string JHTenantId { get; set; }

        /// <summary>
        /// 电商-JHMallBaseId
        /// </summary>
        public string JHMallBaseId { get; set; }

        /// <summary>
        /// 电商-甲鹤用户id
        /// </summary>
        public int JHMallUserId { get; set; }

        /// <summary>
        /// 电商-甲鹤用户OpenId
        /// </summary>
        public string JHMallUserOpenId { get; set; }


        /// <summary>
        /// 性别
        /// </summary>
        public int StuSex { get; set; }


        /// <summary>
        /// 生日
        /// </summary>
        public string StuBirth { get; set; }

        /// <summary>
        /// 学习方式：1 班课学习， 2 约课学习
        /// </summary>
        public int ClassScrollType { get; set; }
    }
}