123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.PaymentManage
- {
- public class WorktimeAdjustmentView
- {
- public System.Guid WorktimeAdjustmentID { get; set; }
- [DisplayName("学年学期")]
- public Nullable<System.Guid> SchoolyearID { get; set; }
- public string SchoolyearCode { get; set; }
- [Required]
- [DisplayName("登记类型")]
- public Nullable<int> WorktimeAdjustmentTypeID { get; set; }
- public string WorktimeAdjustmentTypeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.TP_WorktimeAdjustmentType.ToString())
- .Where(x => x.Value == WorktimeAdjustmentTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("调整日期")]
- public DateTime? AdjustDate { get; set; }
- [Required]
- [DisplayName("教师")]
- public Nullable<System.Guid> UserID { get; set; }
- public string TeacherName { get; set; }
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Nullable<Guid> CollegeID { get; set; }
- [DisplayName("年级")]
- public Nullable<int> GradeYearID { get; set; }
- [DisplayName("专业")]
- public Nullable<int> StandardID { get; set; }
- [DisplayName("课程")]
- public Nullable<System.Guid> CoursematerialID { get; set; }
- public string CourseCode { get; set; }
- public string CourseName { get; set; }
- [Required]
- [DisplayName("任务班")]
- public Nullable<System.Guid> EducationMissionClassID { get; set; }
- public string EducationMissionClassName { get; set; }
- [Required]
- [DisplayName("课时数")]
- public Nullable<int> Worktime { get; set; }
- [DisplayName("记录时间")]
- public Nullable<DateTime> CreateTime { get; set; }
- }
- }
|