2025-06-06 16:55:14 +08:00

368 lines
10 KiB
C#
Raw Permalink 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.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels.XinWei
{
[Table("XW_TrainStudents")]
[Entity(TableCnName = "XW学生训练成绩表", TableName = "XW_TrainStudents")]
public class XW_TrainStudents : BaseEntity
{
/// <summary>
/// 编号
/// </summary>
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int? Id { get; set; }
/// <summary>
/// 训练ID
/// </summary>
[Display(Name = "TrainId")]
[Comment("训练ID")]
public int? TrainId { get; set; }
/// <summary>
/// 项目ID
/// </summary>
[Display(Name = "ProjectId")]
[Comment("项目ID")]
public int? ProjectId { get; set; }
/// <summary>
/// 项目类型(1跳绳2跑步)
/// </summary>
[Display(Name = "ProjectKind")]
[Comment("项目类型(1跳绳2跑步)")]
public double? ProjectKind { 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
/// </summary>
[Display(Name = "ClassId")]
[Comment("班级ID")]
public int? ClassId { get; set; }
/// <summary>
/// 班级名称
/// </summary>
[Display(Name = "ClassName")]
[Comment("班级名称")]
public string ClassName { get; set; }
/// <summary>
/// 组别
/// </summary>
[Display(Name = "GroupName")]
[Comment("组别")]
public string GroupName { get; set; }
/// <summary>
/// 组号
/// </summary>
[Display(Name = "GroupOrder")]
[Comment("组号")]
public int? GroupOrder { get; set; }
/// <summary>
/// 老师ID
/// </summary>
[Display(Name = "TeacherId")]
[Comment("老师ID")]
public int? TeacherId { get; set; }
/// <summary>
/// 设备ID
/// </summary>
[Display(Name = "DeviceId")]
[Comment("设备ID")]
public string DeviceId { get; set; }
/// <summary>
/// 学生ID
/// </summary>
[Display(Name = "StudentId")]
[Comment("学生ID")]
public int? StudentId { get; set; }
/// <summary>
/// 学生名称
/// </summary>
[Display(Name = "StudentName")]
[Comment("学生名称")]
public string StudentName { get; set; }
/// <summary>
/// 性别(1男2女)
/// </summary>
[Display(Name = "Sex")]
[Comment("性别(1男2女)")]
public double? Sex { get; set; }
/// <summary>
/// 学号
/// </summary>
[Display(Name = "StudentNo")]
[Comment("学号")]
public string StudentNo { get; set; }
/// <summary>
/// 标准成绩
/// </summary>
[Display(Name = "Achievement")]
[Comment("标准成绩")]
public int? Achievement { get; set; }
/// <summary>
/// 原始标准成绩(被格式化小数点之前的)
/// </summary>
[Display(Name = "OriginalAchievement")]
[Comment("原始标准成绩(被格式化小数点之前的)")]
public int? OriginalAchievement { get; set; }
/// <summary>
/// 标准成绩2
/// </summary>
[Display(Name = "Achievement2")]
[Comment("标准成绩2")]
public int? Achievement2 { get; set; }
/// <summary>
/// 原始标准成绩2被格式化小数点之前的
/// </summary>
[Display(Name = "OriginalAchievement2")]
[Comment("原始标准成绩2被格式化小数点之前的")]
public int? OriginalAchievement2 { get; set; }
/// <summary>
/// 得分
/// </summary>
[Display(Name = "Score")]
[Comment("得分")]
public double? Score { get; set; }
/// <summary>
/// 加分项得分
/// </summary>
[Display(Name = "PlusesScore")]
[Comment("加分项得分")]
public double? PlusesScore { get; set; }
/// <summary>
/// 评分等级
/// </summary>
[Display(Name = "Rating")]
[Comment("评分等级")]
public int? Rating { get; set; }
/// <summary>
/// 男生或女生排名
/// </summary>
[Display(Name = "RankingInGender")]
[Comment("男生或女生排名")]
public int? RankingInGender { get; set; }
/// <summary>
/// 全体排名
/// </summary>
[Display(Name = "Ranking")]
[Comment("全体排名")]
public int? Ranking { get; set; }
/// <summary>
/// 失误总次数
/// </summary>
[Display(Name = "ErrorCount")]
[Comment("失误总次数")]
public int? ErrorCount { get; set; } = 0;
/// <summary>
/// 失误总耗时
/// </summary>
[Display(Name = "ErrorTime")]
[Comment("失误总耗时")]
public int? ErrorTime { get; set; } = 0;
/// <summary>
/// 平均耗时
/// </summary>
[Display(Name = "AvgTime")]
[Comment("平均耗时")]
public int? AvgTime { get; set; } = 0;
/// <summary>
/// 有效平均值(中位数)
/// </summary>
[Display(Name = "MedianTime")]
[Comment("有效平均值(中位数)")]
public int? MedianTime { 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 = "HigherScore")]
[Comment("高一档分数段")]
public int? HigherScore { get; set; } = 0;
/// <summary>
/// 进入状态耗时
/// </summary>
[Display(Name = "进入状态耗时")]
[Comment("进入状态耗时")]
public int? IntoStateTime { get; set; } = 0;
/// <summary>
/// 次数提升空间
/// </summary>
[Display(Name = "次数提升空间")]
[Comment("次数提升空间")]
public int? ImproveCount { get; set; } = 0;
/// <summary>
/// 分数提升空间
/// </summary>
[Display(Name = "分数提升空间")]
[Comment("分数提升空间")]
public double? ImproveScore { get; set; } = 0.0;
/// <summary>
/// 家长消息发送标识
/// </summary>
[Display(Name = "家长消息发送标识")]
[Comment("家长消息发送标识")]
public int? FamilySendFlag { get; set; }
/// <summary>
/// 是否已经完成
/// </summary>
[Display(Name = "是否已经完成")]
[Comment("是否已经完成")]
public bool? Completed { get; set; }
/// <summary>
/// 实际完成的数量(圈数
/// </summary>
[Display(Name = "实际完成的数量(圈数")]
[Comment("实际完成的数量(圈数)")]
public int? QuantityCompleted { get; set; }
/// <summary>
/// 报表显示
/// </summary>
[Display(Name = "报表显示")]
[Comment("报表显示")]
public int? ModelType { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Display(Name = "开始时间")]
[Comment("开始时间")]
public string StartTime { get; set; }
/// <summary>
/// 教师
/// </summary>
[Display(Name = "教师")]
[Comment("教师")]
public string Teacher { get; set; }
/// <summary>
/// 用时
/// </summary>
public int Times { get; set; }
/// <summary>
/// 视频路径
/// </summary>
public string VideoRecord { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Comment("创建时间")]
public string CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Display(Name = "创建人")]
[Comment("创建人")]
public string CreateBy { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Display(Name = "修改时间")]
[Comment("修改时间")]
public string UpdateTime { get; set; }
/// <summary>
/// 修改人
/// </summary>
[Display(Name = "修改人")]
[Comment("修改人")]
public string UpdateBy { get; set; }
public int XW_SportsTestDataId { get; set; }
public XW_SportsTestData XW_SportsTestData { get; set; }
public List<XW_TrainViolationsBO> TrainViolationsBO { get; set; } = new List<XW_TrainViolationsBO>();
}
}