using System;
using System.Collections.Generic;
using System.Text;

namespace New_College.Model.ViewModels
{
    public class CustomerInfoQuery
    {
        public string OpenId { get; set; }

        public string Name { get; set; }

        public string Phone { get; set; }

        public string UserPwd { get; set; }

        public string Code { get; set; }
    }

    public class PhoneQuery
    {
        public string Phone { get; set; }
    }

    public class UpdateCustomerQuery
    {
        public int Id { get; set; }

        public string Phone { get; set; }

        /// <summary>
        /// 不传就不修改密码
        /// </summary>
        public string UserPwd { get; set; }

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

        /// <summary>
        /// 用户名
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 性别 1男 2女
        /// </summary>
        public int Gender { get; set; }

    }

    public class ResetPwdQuery
    {
        public string Phone { get; set; }

        public string UserPwd { get; set; }

        public string Code { get; set; }
    }

    public class UpdateScoreQuery
    {
        public int StudentId { get; set; }

        public int Score { get; set; }

        /// <summary>
        /// 0(新高考)，1，文科，2 理科
        /// </summary>
        public int? Subject { get; set; }

        /// <summary>
        /// 选科文字展示
        /// </summary>
        public string Subjectgroup { get; set; }
    }

    /// <summary>
    /// 更新信息query
    /// </summary>
    public class CustomerUpdateQuery
    {
        public int StudentId { get; set; }

        /// <summary>
        /// 省市区id
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 省市区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 0(新高考)，1，文科，2 理科
        /// </summary>
        public int? Subject { get; set; } = -1;

        /// <summary>
        /// 选科文字展示
        /// </summary>
        public string Subjectgroup { get; set; }

        public string subjectgroupName { get; set; }

        /// <summary>
        /// 考生预计分数
        /// </summary>
        public float Expectedscore { get; set; }

        public int Year { get; set; }

        public string SchoolName { get; set; }

        public string ClassName { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class CustomerQuery
    {
        public int StudentId { get; set; }

        /// <summary>
        /// 省市区id
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 省市区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 年份
        /// </summary>
        public int Year { get; set; }
    }
}
