tanglong 752e8450bc ss
2025-06-06 15:15:42 +08:00

605 lines
18 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using YD_XinWei.Api.Entitys;
namespace VOL.Entity.DomainModels.XinWei
{
[Table("XW_SportsTestData")]
public class XW_SportsTestData
{
/// <summary>
/// 编号
/// </summary>
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int? Id { get; set; }
/// <summary>
/// 考试id
/// </summary>
[Display(Name = "ExaminationId")]
[Comment("考试id")]
public int? ExaminationId { get; set; }
/// <summary>
/// 考试名称
/// </summary>
[Display(Name = "ExaminationName")]
[Comment("考试名称")]
public string ExaminationName { get; set; }
/// <summary>
/// 项目类型(1体检 2体质)
/// </summary>
[Display(Name = "ProjectType")]
[Comment("项目类型(1体检 2体质)")]
public int? ProjectType { get; set; }
/// <summary>
/// 项目ID
/// </summary>
[Display(Name = "ProjectId")]
[Comment("项目ID")]
public int? ProjectId { get; set; }
/// <summary>
/// 项目名称
/// </summary>
[Display(Name = "ProjectName")]
[Comment("项目名称")]
public string ProjectName { get; set; }
/// <summary>
/// 模式类型(1随堂模式2名单模式3刷卡或手动录入)
/// </summary>
[Display(Name = "RosterType")]
[Comment("模式类型(1随堂模式2名单模式3刷卡或手动录入)")]
public int? RosterType { get; set; }
/// <summary>
/// 学校ID
/// </summary>
[Display(Name = "OrgId")]
[Comment("学校ID")]
public int? OrgId { get; set; }
/// <summary>
/// 年级ID
/// </summary>
[Display(Name = "GradeId")]
[Comment("年级ID")]
public int? GradeId { get; set; }
/// <summary>
/// 年级名称
/// </summary>
[Display(Name = "GradeName")]
[Comment("年级名称")]
public string GradeName { get; set; }
/// <summary>
/// 班级或者名单id根据roster_type来判断
/// </summary>
[Display(Name = "ClassId")]
[Comment("班级或者名单id根据roster_type来判断")]
public int? ClassId { get; set; }
/// <summary>
/// 班级名称
/// </summary>
[Display(Name = "ClassName")]
[Comment("班级名称")]
public string ClassName { get; set; }
/// <summary>
/// 组别
/// </summary>
[Display(Name = "GroupId")]
[Comment("组别")]
public string GroupId { get; set; }
/// <summary>
/// 老师ID
/// </summary>
[Display(Name = "TeacherId")]
[Comment("老师ID")]
public int? TeacherId { get; set; }
/// <summary>
/// 老师名称
/// </summary>
[Display(Name = "TeacherName")]
[Comment("老师名称")]
public string TeacherName { get; set; }
/// <summary>
/// 训练模式
/// </summary>
[Display(Name = "ModelType")]
[Comment("训练模式")]
public int? ModelType { get; set; }
/// <summary>
/// 评分标准类型(1国家标准2地方标准3自定义标准)
/// </summary>
[Display(Name = "MarkType")]
[Comment("评分标准类型(1国家标准2地方标准3自定义标准)")]
public int? MarkType { get; set; }
/// <summary>
/// 项目类型(1跳绳2跑步)
/// </summary>
[Display(Name = "ProjectKind")]
[Comment("项目类型(1跳绳2跑步)")]
public int? ProjectKind { get; set; }
/// <summary>
/// 训练标准ID
/// </summary>
[Display(Name = "ProjectRuleId")]
[Comment("训练标准ID")]
public int? ProjectRuleId { get; set; }
/// <summary>
/// 项目类型名称
/// </summary>
[Display(Name = "ProjectKindName")]
[Comment("项目类型名称")]
public string ProjectKindName { get; set; }
/// <summary>
/// 评分标准类型名称
/// </summary>
[Display(Name = "MarkTypeName")]
[Comment("评分标准类型名称")]
public string MarkTypeName { get; set; }
/// <summary>
/// 项目模式名称
/// </summary>
[Display(Name = "ModelTypeName")]
[Comment("项目模式名称")]
public string ModelTypeName { get; set; }
/// <summary>
/// 训练人数
/// </summary>
[Display(Name = "TrainCount")]
[Comment("训练人数")]
public int? TrainCount { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Display(Name = "StartTime")]
[Comment("开始时间")]
public string StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Display(Name = "EndTime")]
[Comment("结束时间")]
public string EndTime { get; set; }
/// <summary>
/// 男生总数
/// </summary>
[Display(Name = "MaleTotal")]
[Comment("男生总数")]
public int? MaleTotal { get; set; }
/// <summary>
/// 女生总数
/// </summary>
[Display(Name = "FemaleTotal")]
[Comment("女生总数")]
public int? FemaleTotal { get; set; }
/// <summary>
/// 男生总成绩
/// </summary>
[Display(Name = "MaleCount")]
[Comment("男生总成绩")]
public float? MaleCount { get; set; }
/// <summary>
/// 男生最大值
/// </summary>
[Display(Name = "MaleMaxCount")]
[Comment("男生最大值")]
public int? MaleMaxCount { get; set; }
/// <summary>
/// 男生最小值
/// </summary>
[Display(Name = "MaleMinCount")]
[Comment("男生最小值")]
public int? MaleMinCount { get; set; }
/// <summary>
/// 女生总成绩
/// </summary>
[Display(Name = "FemaleCount")]
[Comment("女生总成绩")]
public float? FemaleCount { get; set; }
/// <summary>
/// 女生最大值
/// </summary>
[Display(Name = "FemaleMaxCount")]
[Comment("女生最大值")]
public int? FemaleMaxCount { get; set; }
/// <summary>
/// 女生最小值
/// </summary>
[Display(Name = "FemaleMinCount")]
[Comment("女生最小值")]
public int? FemaleMinCount { get; set; }
/// <summary>
/// 男生总分数
/// </summary>
[Display(Name = "MaleScore")]
[Comment("男生总分数")]
public float? MaleScore { get; set; }
/// <summary>
/// 男生最大分数
/// </summary>
[Display(Name = "MaleMaxScore")]
[Comment("男生最大分数")]
public float? MaleMaxScore { get; set; }
/// <summary>
/// 男生最小分数
/// </summary>
[Display(Name = "MaleMinScore")]
[Comment("男生最小分数")]
public float? MaleMinScore { get; set; }
/// <summary>
/// 女生总分数
/// </summary>
[Display(Name = "FemaleScore")]
[Comment("女生总分数")]
public float? FemaleScore { get; set; }
/// <summary>
/// 女生最大分数
/// </summary>
[Display(Name = "FemaleMaxScore")]
[Comment("女生最大分数")]
public float? FemaleMaxScore { get; set; }
/// <summary>
/// 女生最小分数
/// </summary>
[Display(Name = "FemaleMinScore")]
[Comment("女生最小分数")]
public float? FemaleMinScore { get; set; }
/// <summary>
/// 男生优秀人数
/// </summary>
[Display(Name = "MaleFine")]
[Comment("男生优秀人数")]
public int? MaleFine { get; set; }
/// <summary>
/// 男生良好人数
/// </summary>
[Display(Name = "MaleGood")]
[Comment("男生良好人数")]
public int? MaleGood { get; set; }
/// <summary>
/// 男生及格人数
/// </summary>
[Display(Name = "MalePass")]
[Comment("男生及格人数")]
public int? MalePass { get; set; }
/// <summary>
/// 男生不及格人数
/// </summary>
[Display(Name = "MaleFail")]
[Comment("男生不及格人数")]
public int? MaleFail { get; set; }
/// <summary>
/// 女生优秀人数
/// </summary>
[Display(Name = "FemaleFine")]
[Comment("女生优秀人数")]
public int? FemaleFine { get; set; }
/// <summary>
/// 女生良好人数
/// </summary>
[Display(Name = "FemaleGood")]
[Comment("女生良好人数")]
public int? FemaleGood { get; set; }
/// <summary>
/// 女生及格人数
/// </summary>
[Display(Name = "FemalePass")]
[Comment("女生及格人数")]
public int? FemalePass { get; set; }
/// <summary>
/// 女生不及格人数
/// </summary>
[Display(Name = "FemaleFail")]
[Comment("女生不及格人数")]
public int? FemaleFail { get; set; }
/// <summary>
/// 及格率
/// </summary>
[Display(Name = "PassingRate")]
[Comment("及格率")]
public float? PassingRate { get; set; }
/// <summary>
/// 男生平均个数
/// </summary>
[Display(Name = "MaleAvgCount")]
[Comment("男生平均个数")]
public float? MaleAvgCount { get; set; }
/// <summary>
/// 女生平均个数
/// </summary>
[Display(Name = "FemaleAvgCount")]
[Comment("女生平均个数")]
public float? FemaleAvgCount { get; set; }
/// <summary>
/// 男生平均分数
/// </summary>
[Display(Name = "MaleAvgScore")]
[Comment("男生平均分数")]
public float? MaleAvgScore { get; set; }
/// <summary>
/// 女生平均分数
/// </summary>
[Display(Name = "FemaleAvgScore")]
[Comment("女生平均分数")]
public float? FemaleAvgScore { get; set; }
/// <summary>
/// 男生中位数
/// </summary>
[Display(Name = "MaleMedianCount")]
[Comment("男生中位数")]
public float? MaleMedianCount { get; set; }
/// <summary>
/// 女生中位数
/// </summary>
[Display(Name = "FemaleMedianCount")]
[Comment("女生中位数")]
public float? FemaleMedianCount { get; set; }
/// <summary>
/// 男生平均值
/// </summary>
[Display(Name = "MaleAvgImproveCount")]
[Comment("男生平均值")]
public int? MaleAvgImproveCount { get; set; }
/// <summary>
/// 男生最大值
/// </summary>
[Display(Name = "MaleMaxImproveCount")]
[Comment("男生最大值")]
public int? MaleMaxImproveCount { get; set; }
/// <summary>
/// 男生最小值
/// </summary>
[Display(Name = "MaleMinImproveCount")]
[Comment("男生最小值")]
public int? MaleMinImproveCount { get; set; }
/// <summary>
/// 女生平均值
/// </summary>
[Display(Name = "FemaleAvgImproveCount")]
[Comment("女生平均值")]
public int? FemaleAvgImproveCount { get; set; }
/// <summary>
/// 女生最大值
/// </summary>
[Display(Name = "FemaleMaxImproveCount")]
[Comment("女生最大值")]
public int? FemaleMaxImproveCount { get; set; }
/// <summary>
/// 女生最小值
/// </summary>
[Display(Name = "FemaleMinImproveCount")]
[Comment("女生最小值")]
public int? FemaleMinImproveCount { get; set; }
/// <summary>
/// 男生平均分数
/// </summary>
[Display(Name = "MaleAvgImproveScore")]
[Comment("男生平均分数")]
public float? MaleAvgImproveScore { get; set; }
/// <summary>
/// 男生最大分数
/// </summary>
[Display(Name = "MaleMaxImproveScore")]
[Comment("男生最大分数")]
public float? MaleMaxImproveScore { get; set; }
/// <summary>
/// 男生最小分数
/// </summary>
[Display(Name = "MaleMinImproveScore")]
[Comment("男生最小分数")]
public float? MaleMinImproveScore { get; set; }
/// <summary>
/// 女生平均分数
/// </summary>
[Display(Name = "FemaleAvgImproveScore")]
[Comment("女生平均分数")]
public float? FemaleAvgImproveScore { get; set; }
/// <summary>
/// 女生最大分数
/// </summary>
[Display(Name = "FemaleMaxImproveScore")]
[Comment("女生最大分数")]
public float? FemaleMaxImproveScore { get; set; }
/// <summary>
/// 女生最小分数
/// </summary>
[Display(Name = "FemaleMinImproveScore")]
[Comment("女生最小分数")]
public float? FemaleMinImproveScore { get; set; }
/// <summary>
/// 失误最少的同学次数
/// </summary>
[Display(Name = "MinErrorCount")]
[Comment("失误最少的同学次数")]
public int? MinErrorCount { get; set; } = 99999; // 默认值
/// <summary>
/// 进入状态最快的同学耗时(心率借用这个字段。班级运动时间)
/// </summary>
[Display(Name = "MinIntoStateTime")]
[Comment("进入状态最快的同学耗时(心率借用这个字段。班级运动时间)")]
public int? MinIntoStateTime { get; set; } = 999999;
/// <summary>
/// 第一名平均耗时
/// </summary>
[Display(Name = "MinAvgTime")]
[Comment("第一名平均耗时")]
public int? MinAvgTime { get; set; } = 999999;
/// <summary>
/// 失误总次数
/// </summary>
[Display(Name = "TotalErrorCount")]
[Comment("失误总次数")]
public int? TotalErrorCount { get; set; } = 0;
/// <summary>
/// 失误损失次数
/// </summary>
[Display(Name = "LossesCount1")]
[Comment("失误损失次数")]
public int? LossesCount1 { get; set; } = 0;
/// <summary>
/// 甩绳速度偏慢损失次数
/// </summary>
[Display(Name = "LossesCount2")]
[Comment("甩绳速度偏慢损失次数")]
public int? LossesCount2 { get; set; } = 0;
/// <summary>
/// 进入状态过慢损失次数
/// </summary>
[Display(Name = "LossesCount3")]
[Comment("进入状态过慢损失次数")]
public int? LossesCount3 { get; set; } = 0;
/// <summary>
/// 提交标识
/// </summary>
[Display(Name = "CheckCode")]
[Comment("提交标识")]
public string CheckCode { get; set; }
/// <summary>
/// 班级明细
/// </summary>
//[Display(Name = "DetailInfo")]
//[Comment("班级明细")]
//public object DetailInfo { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "CreateTime")]
[Comment("创建时间")]
public string CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Display(Name = "CreateBy")]
[Comment("创建人")]
public string CreateBy { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Display(Name = "UpdateTime")]
[Comment("修改时间")]
public string UpdateTime { get; set; }
/// <summary>
/// 修改人
/// </summary>
[Display(Name = "UpdateBy")]
[Comment("修改人")]
public string UpdateBy { get; set; }
/// <summary>
/// 是否双人模式
/// </summary>
[Display(Name = "DoubleFlag")]
[Comment("是否双人模式")]
public bool? DoubleFlag { get; set; }
/// <summary>
/// 数据来源(1:pad, 2:微信小程序)
/// </summary>
[Display(Name = "Source")]
[Comment("数据来源(1:pad, 2:微信小程序)")]
public int? Source { get; set; }
/// <summary>
/// 学生姓名
/// </summary>
[Display(Name = "StudentName")]
[Comment("学生姓名")]
public string StudentName { get; set; }
/// <summary>
/// 学生列表
/// </summary>
[Display(Name = "StudentList")]
[Comment("学生列表")]
public List<XW_TrainStudents> StudentList { get; set; } = new List<XW_TrainStudents>();
/// <summary>
/// 训练设置
/// </summary>
//[Display(Name = "TrainSetting")]
//[Comment("训练设置")]
//public XW_TrainSetting TrainSetting { get; set; } = new XW_TrainSetting();
}
}