123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.SupervisionManage
- {
- public class SupEvaluationView
- {
- /// <summary>
- /// 学年学期ID
- /// </summary>
- public Guid? SchoolYearID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 听课记录ID
- /// </summary>
- public Guid? LessonRecordID { get; set; }
- /// <summary>
- /// 项目记录ID
- /// </summary>
- public Guid? ProjectRecordID { get; set; }
- /// <summary>
- /// 督导日期
- /// </summary>
- public DateTime? LessonDate { get; set; }
- public string LessonDateStr
- {
- get
- {
- if(LessonDate.HasValue)
- {
- var dateStr=LessonDate.Value.Year+"年"+LessonDate.Value.Month+"月"+LessonDate.Value.Day+"日";
- return dateStr;
- }else{
- return null;
- }
- }
- }
- /// <summary>
- /// 地点
- /// </summary>
- public string Location { get; set; }
- /// <summary>
- /// 督导院系所ID
- /// </summary>
- public Guid? SupervisionCollegeID { get; set; }
- /// <summary>
- /// 督导院系所
- /// </summary>
- public string SupervisionCollegeName{get;set;}
- /// <summary>
- /// 督导对象ID
- /// </summary>
- public Guid? UserID { get; set; }
- /// <summary>
- /// 督导对象姓名
- /// </summary>
- public string UserName { get; set; }
- /// <summary>
- /// 课程资料ID
- /// </summary>
- public Guid? CoursematerialID { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- public string CourseName { get; set; }
- /// <summary>
- /// 星期
- /// </summary>
- public int? Weekday { get; set; }
- /// <summary>
- /// 节次
- /// </summary>
- public Guid? CoursesTimeID { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- public string Content { get; set; }
- /// <summary>
- /// 建议
- /// </summary>
- public string Advise { get; set; }
- /// <summary>
- /// 督导类型
- /// </summary>
- public int? SupervisionTypeID { get; set; }
- public string SupervisionTypeName
- {
- get
- {
- if (SupervisionTypeID==null)
- {
- return "督导听课";
- }
- else{
- return IdNameExt.GetDictionaryItem(DictionaryItem.SUP_SupervisionType.ToString())
- .Where(x => x.Value == SupervisionTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- /// <summary>
- /// 开始时间
- /// </summary>
- public int StartTimes { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- public int EndTimes { get; set; }
- public decimal? TotalScore { get; set; }
- public Guid? CreateUserID { get; set; }
- public string CreateUserName { get; set; }
- }
- }
|