using Learun.Util; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Learun.Application.TwoDevelopment.EducationalAdministration { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2018 北京泉江科技有限公司 /// 创 建:超级管理员 /// 日 期:2019-08-26 16:58 /// 描 述:选修合班设置 /// public class ElectiveMergeEntity { #region 实体成员 /// /// EMId /// [Column("EMID")] public string EMId { get; set; } /// /// AcademicYearNo /// [Column("ACADEMICYEARNO")] public string AcademicYearNo { get; set; } /// /// Semester /// [Column("SEMESTER")] public string Semester { get; set; } /// /// LessonId /// [Column("LESSONID")] public string LessonId { get; set; } /// /// LessonNo /// [Column("LESSONNO")] public string LessonNo { get; set; } /// /// LessonName /// [Column("LESSONNAME")] public string LessonName { get; set; } /// /// F_SchoolId /// [Column("F_SCHOOLID")] public string F_SchoolId { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public void Create() { this.EMId = Guid.NewGuid().ToString(); } /// /// 编辑调用 /// /// public void Modify(string keyValue) { this.EMId = keyValue; } #endregion #region 扩展字段 [NotMapped] public decimal? StudyScore { get; set; } [NotMapped] public int? StuNumMax { get; set; } [NotMapped] public int? StuNum { get; set; } [NotMapped] public DateTime? ModifyTime { get; set; } [NotMapped] public string ModifyUserName { get; set; } #endregion } }