56 lines
1.3 KiB
C#
56 lines
1.3 KiB
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace YD_WeChatApplet.Commons.Dto.Teacher
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 老师数据统计
|
|||
|
/// </summary>
|
|||
|
public class DataStatisticsDto
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 总人数
|
|||
|
/// </summary>
|
|||
|
public int HeadTotal { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 等级人数
|
|||
|
/// </summary>
|
|||
|
public Dictionary<string, int> RankDic { get; set; } = new Dictionary<string, int>();
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 学生列表
|
|||
|
/// </summary>
|
|||
|
public PageDataDto<StatisticsStudent> Studentlist { get; set; } = new PageDataDto<StatisticsStudent>();
|
|||
|
}
|
|||
|
|
|||
|
public class StatisticsStudent
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
///学生学号
|
|||
|
/// </summary>
|
|||
|
public string StudentNo { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///学生名称
|
|||
|
/// </summary>
|
|||
|
public string StudentName { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///性别
|
|||
|
/// </summary>
|
|||
|
public int Sex { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///学生照片
|
|||
|
/// </summary>
|
|||
|
public string Photo { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
}
|