119 lines
3.2 KiB
C#
Raw Normal View History

2026-08-18 09:06:00 +08:00
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace VOL.Entity.DomainModels.XinWei
{
/// <summary>
/// 阳光跑训练数据
/// </summary>
[Table("XW_SunshineRunTrain")]
public class XW_SunshineRunTrain
{
/// <summary>
/// 编号
/// </summary>
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("编号")]
public int Id { get; set; }
/// <summary>
/// 学校id
/// </summary>
[Display(Name = "OrgId")]
[Comment("学校id")]
2026-08-18 16:03:24 +08:00
public string OrgId { get; set; }
2026-08-18 09:06:00 +08:00
/// <summary>
/// 年级名称
/// </summary>
[Display(Name = "GradeName")]
[Comment("年级名称")]
public string? GradeName { get; set; }
/// <summary>
/// 年级ID
/// </summary>
[Display(Name = "GradeId")]
[Comment("年级ID")]
2026-08-18 16:03:24 +08:00
public string GradeId { get; set; }
2026-08-18 09:06:00 +08:00
/// <summary>
/// 班级名称
/// </summary>
[Display(Name = "ClassName")]
[Comment("班级名称")]
public string? ClassName { get; set; }
/// <summary>
/// 班级Id
/// </summary>
[Display(Name = "ClassId")]
[Comment("班级Id")]
2026-08-18 16:03:24 +08:00
public string ClassId { get; set; }
2026-08-18 09:06:00 +08:00
/// <summary>
/// 学生ID
/// </summary>
[Display(Name = "StudentId")]
[Comment("学生ID")]
2026-08-18 16:03:24 +08:00
public string StudentId { get; set; }
2026-08-18 09:06:00 +08:00
/// <summary>
/// 学生名称
/// </summary>
[Display(Name = "StudentName")]
[Comment("学生名称")]
public string? StudentName { get; set; }
/// <summary>
/// 性别(1:男 2:女)
/// </summary>
[Display(Name = "Sex")]
[Comment("性别(1:男 2:女)")]
public string? Sex { get; set; }
/// <summary>
/// 有效里程(米)
/// </summary>
[Display(Name = "EffectiveDistance")]
[Comment("有效里程(米)")]
public int? EffectiveDistance { get; set; }
/// <summary>
/// 无效里程(米)
/// </summary>
[Display(Name = "InvalidDistance")]
[Comment("无效里程(米)")]
public int? InvalidDistance { get; set; }
/// <summary>
/// 用时(s)
/// </summary>
[Display(Name = "Times")]
[Comment("用时(s)")]
public int? Times { get; set; }
/// <summary>
/// 无效用时(s)
/// </summary>
[Display(Name = "InvalidTimes")]
[Comment("无效用时(s)")]
public int? InvalidTimes { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "CreateTime")]
[Comment("创建时间")]
public string? CreateTime { get; set; }
/// <summary>
/// 明细
/// </summary>
public List<XW_SunshineRunTrainDetail> DetailInfo { get; set; } = new List<XW_SunshineRunTrainDetail>();
}
}