123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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<ER_CustomScoreFormula> CustomScoreFormula { get; set; }
- public List<ER_ResultTypeDetail> ResultType { get; set; }
- public List<ER_ExamsStateSetting> ExamsStateSetting { get; set; }
- public int? NormalExamsID { get; set; }
- public int? ExaminationSuspensonID { get; set; }
- public int? ExaminationExemptionID { get; set; }
- public List<int?> MisconductIDList { get; set; }
- public int? FixScoreTypeID { get; set; }
- public int? ScoreDigitCount { get; set; }
- }
- }
|