1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using EMIS.ViewModel.Cache;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.CerificateManage
- {
- public class CertificateMobileView
- {
- public CertificateMobileView()
- {
- this.ScoreViewList = new List<CertificateMobileScoreView>();
- }
- public Guid ProjectScoreID { get; set; }
- public Guid? ExaminationProjectID { get; set; }
- public string ExaminationProjectName { get; set; }
- public Guid? LevelSettingID { get; set; }
- public string LevelName { get; set; }
- public bool? IsPassed { get; set; }
- public Guid? CertisfierDistributeID { get; set; }
- public int? DistributeTypeID { get; set; }
- public string DistributeTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.ER_CertisfierDistributeType)
- .Where(x => x.Value == DistributeTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public int? DistributeStatusID { get; set; }
- public string DistributeStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.ER_CertisfierDistributeStatus)
- .Where(x => x.Value == DistributeStatusID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public string ContactPerson { get; set; }
- public string ContactNo { get; set; }
- public string ContactIDNo { get; set; }
- public string Address { get; set; }
- public string DeliveryNoteNo { get; set; }
- public List<CertificateMobileScoreView> ScoreViewList { get; set; }
- }
- public class CertificateMobileScoreView
- {
- public Guid ExaminationScoreID { get; set; }
- public Guid? ExaminationProjectID { get; set; }
- public int? ExaminationSubjectID { get; set; }
- public string ExaminationSubjectName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject)
- .Where(x => x.Value == ExaminationSubjectID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public decimal? Score { get; set; }
- }
- }
|