YD_SmartSports.Api/VOL.Model/School/Response/VariousSportsProportion.cs
2025-06-06 16:00:39 +08:00

110 lines
2.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VOL.Model
{
/// <summary>
/// 图表数据
/// </summary>
public class VariousSportsProportion
{
/// <summary>
/// 横轴
/// </summary>
public List<string> AxisX { get; set; } = new List<string>();
/// <summary>
/// 纵轴
/// </summary>
public List<float> AxisY { get; set; } = new List<float>();
}
public class ExcellentRateChart
{
/// <summary>
/// 横轴
/// </summary>
public List<string> AxisX { get; set; } = new List<string>();
/// <summary>
/// 纵轴
/// </summary>
public List<SexAndOverall> AxisY { get; set; } = new List<SexAndOverall>();
}
/// <summary>
/// 分数对比[最好/最近]
/// </summary>
public class ResultContrastChart
{
/// <summary>
/// 横轴
/// </summary>
public List<string> AxisX { get; set; } = new List<string>();
/// <summary>
/// 纵轴
/// </summary>
public List<ResultContrast> AxisY { get; set; } = new List<ResultContrast>();
}
/// <summary>
/// 性别与总体数据
/// </summary>
public class SexAndOverall
{
/// <summary>
/// 男生数据
/// </summary>
public float MaleValue { get; set; }
/// <summary>
/// 女生数据
/// </summary>
public float FemaleValue { get; set; }
/// <summary>
/// 总体数据
/// </summary>
public float OverallValue { get; set; }
}
/// <summary>
/// 分数对比[最好/最近]
/// </summary>
public class ResultContrast
{
/// <summary>
/// 最高
/// </summary>
public float MaxValue { get; set; }
/// <summary>
/// 最新
/// </summary>
public float LastValue { get; set; }
}
/// <summary>
/// 体质健康
/// </summary>
public class PhysicalHealth
{
/// <summary>
/// 男生数据
/// </summary>
public VariousSportsProportion MaleData { get; set; } = new VariousSportsProportion();
/// <summary>
/// 女生数据
/// </summary>
public VariousSportsProportion FemaleData { get; set; } = new VariousSportsProportion();
}
}