using Learun.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创 建:超级管理员
/// 日 期:2019-05-14 10:02
/// 描 述:选修课课程信息
///
public class OpenLessonPlanOfElectiveEntity
{
#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; }
///
/// LessonTime
///
[Column("LESSONTIME")]
public string LessonTime { get; set; }
///
/// LessonSection
///
[Column("LESSONSECTION")]
public string LessonSection { 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; }
///
/// 报名人数上限
///
[Column("STUNUMMAX")]
public int? StuNumMax { get; set; }
///
/// 报名成功人数
///
[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; }
///
/// 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; }
public bool? IsAllowEdit { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.Id = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.Id = keyValue;
}
#endregion
#region 扩展字段
///
/// 校区名称
///
[NotMapped]
public string F_School { 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 int? StuNumOfApply { get; set; }
///
/// 已报名人数(预)
///
[NotMapped]
public int? StuNumOfApplyPre { get; set; }
///
/// 报名成功人数(预)
///
[NotMapped]
public int? StuNumPre { get; set; }
///
/// 报名状态(预)
///
[NotMapped]
public int StatusPre { get; set; }
///
/// 解决导出字段重复不能导出问题
///
[NotMapped] public string LessonNo2 { get; set; }
[NotMapped] public string EmpNo2 { get; set; }
[NotMapped] public string LessonTypeId { get; set; }
///
/// 选课专业列表
///
[NotMapped]
public List ElectiveMajorList { get; set; }
#endregion
}
}