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