119 lines
3.2 KiB
C#
119 lines
3.2 KiB
C#
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")]
|
||
public string OrgId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 年级名称
|
||
/// </summary>
|
||
[Display(Name = "GradeName")]
|
||
[Comment("年级名称")]
|
||
public string? GradeName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 年级ID
|
||
/// </summary>
|
||
[Display(Name = "GradeId")]
|
||
[Comment("年级ID")]
|
||
public string GradeId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 班级名称
|
||
/// </summary>
|
||
[Display(Name = "ClassName")]
|
||
[Comment("班级名称")]
|
||
public string? ClassName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 班级Id
|
||
/// </summary>
|
||
[Display(Name = "ClassId")]
|
||
[Comment("班级Id")]
|
||
public string ClassId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 学生ID
|
||
/// </summary>
|
||
[Display(Name = "StudentId")]
|
||
[Comment("学生ID")]
|
||
public string 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 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>();
|
||
}
|
||
}
|