using Learun.Util; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// 创 建:超级管理员 /// 日 期:2023-05-29 14:28 /// 描 述:线上课程 /// public class LessonInfoOfElectiveOnlineEntity { #region 实体成员 /// /// Id /// [Column("ID")] public string Id { get; set; } /// /// MakeDate /// [Column("MAKEDATE")] public DateTime? MakeDate { get; set; } /// /// AcademicYearNo /// [Column("ACADEMICYEARNO")] public string AcademicYearNo { get; set; } /// /// Semester /// [Column("SEMESTER")] public string Semester { get; set; } /// /// LessonNo /// [Column("LESSONNO")] public string LessonNo { get; set; } /// /// PartCode /// [Column("PARTCODE")] public string PartCode { get; set; } /// /// LessonName /// [Column("LESSONNAME")] public string LessonName { get; set; } /// /// LessonSortNo /// [Column("LESSONSORTNO")] public string LessonSortNo { get; set; } /// /// LessonSortDetailNo /// [Column("LESSONSORTDETAILNO")] public string LessonSortDetailNo { get; set; } /// /// LessonSection /// [Column("LESSONSECTION")] public string LessonSection { get; set; } /// /// LessonTime /// [Column("LESSONTIME")] public string LessonTime { get; set; } /// /// StudyScore /// [Column("STUDYSCORE")] public decimal? StudyScore { get; set; } /// /// StartWeek /// [Column("STARTWEEK")] public int? StartWeek { get; set; } /// /// EndWeek /// [Column("ENDWEEK")] public int? EndWeek { get; set; } /// /// StartDate /// [Column("STARTDATE")] public DateTime? StartDate { get; set; } /// /// EndDate /// [Column("ENDDATE")] public DateTime? EndDate { get; set; } /// /// CheckStyleNo /// [Column("CHECKSTYLENO")] public string CheckStyleNo { get; set; } /// /// ScoreRecordStyleNo /// [Column("SCORERECORDSTYLENO")] public string ScoreRecordStyleNo { get; set; } /// /// EmpNo /// [Column("EMPNO")] public string EmpNo { get; set; } /// /// EmpName /// [Column("EMPNAME")] public string EmpName { get; set; } /// /// ClassRoomNo /// [Column("CLASSROOMNO")] public string ClassRoomNo { get; set; } /// /// ClassRoomName /// [Column("CLASSROOMNAME")] public string ClassRoomName { get; set; } /// /// CheckMark /// [Column("CHECKMARK")] public string CheckMark { get; set; } /// /// StuNumMax /// [Column("STUNUMMAX")] public int? StuNumMax { get; set; } /// /// StuNum /// [Column("STUNUM")] public int? StuNum { get; set; } /// /// ModifyTime /// [Column("MODIFYTIME")] public DateTime? ModifyTime { get; set; } /// /// ModifyUserId /// [Column("MODIFYUSERID")] public string ModifyUserId { get; set; } /// /// ModifyUserName /// [Column("MODIFYUSERNAME")] public string ModifyUserName { get; set; } /// /// F_SchoolId /// [Column("F_SCHOOLID")] public string F_SchoolId { get; set; } /// /// TeachMajorNo /// [Column("TEACHMAJORNO")] public string TeachMajorNo { get; set; } /// /// OrdinaryScoreScale /// [Column("ORDINARYSCORESCALE")] public decimal? OrdinaryScoreScale { get; set; } /// /// TermInScoreScale /// [Column("TERMINSCORESCALE")] public decimal? TermInScoreScale { get; set; } /// /// TermEndScoreScale /// [Column("TERMENDSCORESCALE")] public decimal? TermEndScoreScale { get; set; } /// /// OtherScoreScale /// [Column("OTHERSCORESCALE")] public decimal? OtherScoreScale { get; set; } /// /// PracticeHour /// [Column("PRACTICEHOUR")] public string PracticeHour { get; set; } /// /// HaveBeforeLesson /// [Column("HAVEBEFORELESSON")] public string HaveBeforeLesson { get; set; } /// /// BeforeLesson /// [Column("BEFORELESSON")] public string BeforeLesson { get; set; } /// /// IsAllowEdit /// [Column("ISALLOWEDIT")] public bool? IsAllowEdit { get; set; } /// /// State /// [Column("STATE")] public int? State { get; set; } /// /// ClassroomType /// [Column("CLASSROOMTYPE")] public int? ClassroomType { get; set; } /// /// ClassroomPracticeType /// [Column("CLASSROOMPRACTICETYPE")] public int? ClassroomPracticeType { get; set; } /// /// CheckMarkDept /// [Column("CHECKMARKDEPT")] public string CheckMarkDept { get; set; } /// /// TeachingBookNo /// [Column("TEACHINGBOOKNO")] public string TeachingBookNo { get; set; } /// /// TestMark /// [Column("TESTMARK")] public int? TestMark { get; set; } /// /// StuSortNo /// [Column("STUSORTNO")] public string StuSortNo { get; set; } /// /// 是否可选 /// [Column("ISALLOWSELECT")] public int? IsAllowSelect { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create() { this.Id = Guid.NewGuid().ToString(); this.MakeDate = DateTime.Now; this.CheckMark = "0";//停用 } /// /// 编辑调用 /// /// public void Modify(string keyValue) { this.Id = keyValue; this.ModifyTime = DateTime.Now; this.ModifyUserId = LoginUserInfo.Get().userId; this.ModifyUserName = LoginUserInfo.Get().realName; } #endregion #region 扩展字段 /// /// 已报名人数 /// [NotMapped] public int? StuNumOfApply { get; set; } /// /// 选课专业列表 /// [NotMapped] public List ElectiveMajorOnlineList { get; set; } [NotMapped] public string StuNo { get; set; } [NotMapped] public string StuName { get; set; } /// /// 报名状态 /// [NotMapped] public int Status { get; set; } [NotMapped] public string Introduction { get; set; } [NotMapped] public string resume; /// /// 选课专业主键 /// [NotMapped] public string ElectiveMajorOnlineId { get; set; } /// /// 选课专业专业 /// [NotMapped] public string MajorId { get; set; } /// /// 选课专业年级 /// [NotMapped] public string Grade { get; set; } #endregion } }