using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.Entities; namespace EMIS.ViewModel.ScoreManage { public class ScoreEditView : FinalExaminationView { public ScoreEditView() : base() { } public ScoreEditView(FinalExaminationView finalExamination) { var ParentType = typeof(FinalExaminationView); var Properties = ParentType.GetProperties(); foreach (var Propertie in Properties) { //循环遍历属性 if (Propertie.CanRead && Propertie.CanWrite) { //进行属性拷贝 Propertie.SetValue(this, Propertie.GetValue(finalExamination, null), null); } } } public bool IsTotalFormula { get; set; } public bool IsCreditFormula { get; set; } public bool IsGradePointFormula { get; set; } public List CustomScoreFormula { get; set; } public List ResultType { get; set; } public List ExamsStateSetting { get; set; } public int? NormalExamsID { get; set; } public int? ExaminationSuspensonID { get; set; } public int? ExaminationExemptionID { get; set; } public List MisconductIDList { get; set; } public int? FixScoreTypeID { get; set; } public int? ScoreDigitCount { get; set; } } }