63 lines
1.5 KiB
C#
Raw Normal View History

using System;
using System.ComponentModel.DataAnnotations;
namespace VOL.Model.SunshineRun
{
public class SunshineRunFilterParam
{
public string StudentName { get; set; }
public string ClassName { get; set; }
public int? GradeId { get; set; }
public int? ClassId { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
}
public class SunshineRunPageParam : SunshineRunFilterParam
{
[Range(1, int.MaxValue)]
public int PageIndex { get; set; } = 1;
[Range(1, 200)]
public int PageSize { get; set; } = 10;
}
public class SunshineRunRecordModel
{
[Display(Name = "序号")]
public int Index { get; set; }
[Display(Name = "姓名")]
public string StudentName { get; set; }
[Display(Name = "性别")]
public string SexName { get; set; }
[Display(Name = "班级")]
public string ClassName { get; set; }
[Display(Name = "有效里程")]
public string EffectiveDistance { get; set; }
[Display(Name = "有效用时")]
public string EffectiveTime { get; set; }
[Display(Name = "总里程")]
public string TotalDistance { get; set; }
[Display(Name = "总用时")]
public string TotalTime { get; set; }
[Display(Name = "开始时间")]
public string StartTime { get; set; }
[Display(Name = "结束时间")]
public string EndTime { get; set; }
}
}