2025-06-06 16:00:39 +08:00

333 lines
9.7 KiB
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Table("I_TrainGroup")]
[Entity(TableCnName = "班级报告表", TableName = "I_TrainGroup")]
public class I_TrainGroup : BaseEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
///学校Code
/// </summary>
[Display(Name = "学校Code")]
[Comment("学校Code")]
[Column(TypeName = "nvarchar(100)")]
public string SchoolCode { get; set; }
/// <summary>
/// 组名
/// </summary>
[Display(Name = "组名")]
[Comment("组名")]
[Column(TypeName = "nvarchar(100)")]
public string GroupName { get; set; }
/// <summary>
/// 设备名称
/// </summary>
[Display(Name = "设备名称")]
[Comment("设备名称")]
[Column(TypeName = "nvarchar(100)")]
public string DevicesName { get; set; }
/// <summary>
/// 总数
/// </summary>
[Display(Name = "总数")]
[Comment("总数")]
public int GroupTotalNum { get; set; }
/// <summary>
/// 平均
/// </summary>
[Display(Name = "平均")]
[Comment("平均")]
[Column(TypeName = "nvarchar(100)")]
public string GroupAvg { get; set; }
/// <summary>
/// 中位数
/// </summary>
[Display(Name = "中位数")]
[Comment("中位数")]
public int GroupMedianNum { get; set; }
/// <summary>
/// 最大
/// </summary>
[Display(Name = "最大")]
[Comment("最大")]
public int GroupMax { get; set; }
/// <summary>
/// 最小
/// </summary>
[Display(Name = "最小")]
[Comment("最小")]
public int GroupMin { get; set; }
/// <summary>
/// 平均卡路里
/// </summary>
[Display(Name = "平均卡路里")]
[Comment("平均卡路里")]
[Column(TypeName = "nvarchar(100)")]
public string GroupAvgKcal { get; set; }
/// <summary>
/// 每秒个数
/// </summary>
[Display(Name = "每秒个数")]
[Comment("每秒个数")]
[Column(TypeName = "nvarchar(100)")]
public string GroupSpeed { get; set; }
/// <summary>
/// 优秀
/// </summary>
[Display(Name = "优秀")]
[Comment("优秀")]
public int GroupHigh { get; set; }
/// <summary>
/// 良好
/// </summary>
[Display(Name = "良好")]
[Comment("良好")]
public int GroupM { get; set; }
/// <summary>
/// 合格
/// </summary>
[Display(Name = "合格")]
[Comment("合格")]
public int GroupLow { get; set; }
/// <summary>
/// 限时限数完成总时间 / 红黄捏捏蛋对决 KO 时间
/// </summary>
[Display(Name = "限时限数完成总时间 / 红黄捏捏蛋对决 KO 时间")]
[Comment("限时限数完成总时间 / 红黄捏捏蛋对决 KO 时间")]
public int GroupUseTime { get; set; }
/// <summary>
/// 时间平均数
/// </summary>
[Display(Name = "时间平均数")]
[Comment("时间平均数")]
public double GroupAvgTime { get; set; }
/// <summary>
/// 时间中位数
/// </summary>
[Display(Name = "时间中位数")]
[Comment("时间中位数")]
public int GroupTimeMedian { get; set; }
/// <summary>
/// 平均速度
/// </summary>
[Display(Name = "平均速度")]
[Comment("平均速度")]
public float SecondsNumber { get; set; }
/// <summary>
/// 学生名称 (在随堂测试有效)
/// </summary>
[Display(Name = "学生名称 (在随堂测试有效)")]
[Comment("学生名称 (在随堂测试有效)")]
[Column(TypeName = "nvarchar(100)")]
public string StuName { get; set; }
/// <summary>
/// true A组, false B组
/// </summary>
[Display(Name = "是否A组")]
[Comment("true A组, false B组")]
public bool IsGroup { get; set; } = true;
/// <summary>
/// 限时限数班级中最小用时
/// </summary>
[Display(Name = "限时限数班级中最小用时")]
[Comment("限时限数班级中最小用时")]
public int MinUseTime { get; set; }
/// <summary>
/// 限时限数班级中最大用时
/// </summary>
[Display(Name = "限时限数班级中最大用时")]
[Comment("限时限数班级中最大用时")]
public int MaxUseTime { get; set; }
/// <summary>
/// 等级高低1
/// </summary>
[Display(Name = "等级高低1")]
[Comment("等级高低1")]
public int Level1 { get; set; } = 0;
/// <summary>
/// 等级高低2
/// </summary>
[Display(Name = "等级高低2")]
[Comment("等级高低2")]
public int Level2 { get; set; } = 0;
/// <summary>
/// 等级高低3
/// </summary>
[Display(Name = "等级高低3")]
[Comment("等级高低3")]
public int Level3 { get; set; } = 0;
/// <summary>
/// 等级高低4
/// </summary>
[Display(Name = "等级高低4")]
[Comment("等级高低4")]
public int Level4 { get; set; } = 0;
/// <summary>
/// 等级高低5
/// </summary>
[Display(Name = "等级高低5")]
[Comment("等级高低5")]
public int Level5 { get; set; } = 0;
/// <summary>
/// 等级高低6
/// </summary>
[Display(Name = "等级高低6")]
[Comment("等级高低6")]
public int Level6 { get; set; } = 0;
/// <summary>
/// 等级高低7
/// </summary>
[Display(Name = "等级高低7")]
[Comment("等级高低7")]
public int Level7 { get; set; } = 0;
/// <summary>
/// 等级高低8
/// </summary>
[Display(Name = "等级高低8")]
[Comment("等级高低8")]
public int Level8 { get; set; } = 0;
/// <summary>
/// 等级高低9
/// </summary>
[Display(Name = "等级高低9")]
[Comment("等级高低9")]
public int Level9 { get; set; } = 0;
/// <summary>
/// 等级高低10
/// </summary>
[Display(Name = "等级高低10")]
[Comment("等级高低10")]
public int Level10 { get; set; } = 0;
/// <summary>
/// 自由训练距离完成人数
/// </summary>
[Display(Name = "自由训练距离完成人数")]
[Comment("自由训练距离完成人数")]
public int GroupSpeedCompleteNum { get; set; }
/// <summary>
/// 百分比
/// </summary>
[Display(Name = "百分比")]
[Comment("百分比")]
public int GroupSpeedCompletePre { get; set; }
/// <summary>
/// 自由训练总时间
/// </summary>
[Display(Name = "自由训练总时间")]
[Comment("自由训练总时间")]
public float GroupSpeedTotalTime { get; set; }
/// <summary>
/// 自由训练平均时间
/// </summary>
[Display(Name = "自由训练平均时间")]
[Comment("自由训练平均时间")]
public float GroupSpeedAvgTime { get; set; }
/// <summary>
/// 自由训练中位数时间
/// </summary>
[Display(Name = "自由训练中位数时间")]
[Comment("自由训练中位数时间")]
public float GroupSpeedMedianTime { get; set; }
/// <summary>
/// 自由训练最小时间
/// </summary>
[Display(Name = "自由训练最小时间")]
[Comment("自由训练最小时间")]
public float GroupSpeedMinTime { get; set; }
/// <summary>
/// 自由训练最大时间
/// </summary>
[Display(Name = "自由训练最大时间")]
[Comment("自由训练最大时间")]
public float GroupSpeedMaxime { get; set; }
/// <summary>
/// 握力效率最大值
/// </summary>
[Display(Name = "握力效率最大值")]
[Comment("握力效率最大值")]
[Column(TypeName = "nvarchar(100)")]
public string MaxEff { get; set; }
/// <summary>
/// 握力效率最小值
/// </summary>
[Display(Name = "握力效率最小值")]
[Comment("握力效率最小值")]
[Column(TypeName = "nvarchar(100)")]
public string MinEff { get; set; }
/// <summary>
/// 握力效率平均值
/// </summary>
[Display(Name = "握力效率平均值")]
[Comment("握力效率平均值")]
[Column(TypeName = "nvarchar(100)")]
public string AvgEff { get; set; }
/// <summary>
/// 导航属性
/// </summary>
public I_TrainingData TrainingData { get; set; }
/// <summary>
/// 学生详情信息列表
/// </summary>
[Display(Name = "学生详情信息列表")]
[Comment("学生详情信息列表")]
public List<I_StuDetailInfoEntity> StuList { get; set; }
}
}