75 lines
2.3 KiB
C#
75 lines
2.3 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace YD_YiLu.Commons.Dto.DeviceSync
|
|
{
|
|
/// <summary>
|
|
/// 个人成绩排行榜请求
|
|
/// </summary>
|
|
public class DeviceSyncGradeOrderRequestDto
|
|
{
|
|
public int DeviceType { get; set; }
|
|
public string DeviceSerial { get; set; }
|
|
public int? CourseId { get; set; }
|
|
public int? Gender { get; set; }
|
|
public int DateType { get; set; }
|
|
|
|
/// <summary>
|
|
/// dateType=5时必填
|
|
/// </summary>
|
|
public string QueryStartTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// dateType=5时必填
|
|
/// </summary>
|
|
public string QueryEndTime { get; set; }
|
|
|
|
public List<int> OrganizeId { get; set; }
|
|
public int Page { get; set; } = 1;
|
|
public int Size { get; set; } = 10;
|
|
}
|
|
|
|
public class DeviceSyncGradeOrderItemDto
|
|
{
|
|
public int UserId { get; set; }
|
|
public string Nickname { get; set; }
|
|
public int OrganizationId { get; set; }
|
|
public string OrganizationName { get; set; }
|
|
public int Gender { get; set; }
|
|
public string Score { get; set; }
|
|
public int CourseId { get; set; }
|
|
public string CourseName { get; set; }
|
|
}
|
|
|
|
public class DeviceSyncOrganizationGradeOrderItemDto
|
|
{
|
|
public string OrganizationName { get; set; }
|
|
public string SumScore { get; set; }
|
|
public string AvgScore { get; set; }
|
|
public int SumCount { get; set; }
|
|
public int CourseId { get; set; }
|
|
public string CourseName { get; set; }
|
|
}
|
|
|
|
public class DeviceSyncBestScoreRequestDto
|
|
{
|
|
public int DeviceType { get; set; }
|
|
public string DeviceSerial { get; set; }
|
|
public int CourseId { get; set; }
|
|
public int Gender { get; set; }
|
|
public string UserSerial { get; set; }
|
|
public int Range { get; set; }
|
|
}
|
|
|
|
public class DeviceSyncBestScoreDto
|
|
{
|
|
public string UserSerial { get; set; }
|
|
public string Nickname { get; set; }
|
|
public int OrganizationId { get; set; }
|
|
public string OrganizationName { get; set; }
|
|
public int Gender { get; set; }
|
|
public string Score { get; set; }
|
|
public int CourseId { get; set; }
|
|
public string CourseName { get; set; }
|
|
}
|
|
}
|