123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- 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 WorktimeAdditionView
- {
- public System.Guid WorktimeAdditionID { get; set; }
- [Required]
- [DisplayName("学年学期")]
- public Nullable<System.Guid> SchoolyearID { get; set; }
- public string SchoolyearCode { get; set; }
- [DisplayName("教师单位")]
- public Nullable<System.Guid> CollegeID { get; set; }
- public string CollegeNo { get; set; }
- public string CollegeName { get; set; }
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Nullable<System.Guid> StudentCollegeID { get; set; }
- [Required]
- [DisplayName("教师")]
- public Nullable<System.Guid> UserID { get; set; }
- public string TeacherName { get; set; }
- [Required]
- [DisplayName("月份")]
- public int? Month { get; set; }
- [DisplayName("年级")]
- public Nullable<int> GradeYearID { get; set; }
- [DisplayName("专业")]
- public Nullable<int> StandardID { get; set; }
- public string StandardDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [Required]
- [DisplayName("年级专业")]
- public Nullable<System.Guid> GrademajorID { get; set; }
- public string GrademajorName { get; set; }
- [Required]
- [DisplayName("课程名称")]
- public Nullable<System.Guid> CoursematerialID { get; set; }
- public string CourseCode { get; set; }
- public string CourseName { get; set; }
- [Required]
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CourseCollege")]
- public Nullable<System.Guid> CourseCollegeID { get; set; }
- public string CourseCollegeNo { get; set; }
- public string CourseCollegeName { get; set; }
- [DisplayName("任务班名")]
- public string EducationMissionClassName { get; set; }
- [Required]
- [DisplayName("授课方式")]
- public Nullable<int> TeachingModeID { get; set; }
- public string TeachingModeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeachingMode.ToString())
- .Where(x => x.Value == TeachingModeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [Required]
- [DisplayName("任课方式")]
- public Nullable<int> TeachType { get; set; }
- public string TeachTypeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EM_TeachingMethod.ToString())
- .Where(x => x.Value == TeachType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [Required]
- [DisplayName("学生人数")]
- public Nullable<int> StudentCount { get; set; }
- [Required]
- [DisplayName("课时数")]
- public Nullable<int> CourseTime { get; set; }
- [DisplayName("备注")]
- public string Remark { get; set; }
- }
- }
|