EvaluationStudentView.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.EvaluationManage.StudentEvaluation
  9. {
  10. public class EvaluationStudentView
  11. {
  12. /// <summary>
  13. /// 主键ID
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid EvaluationStudentID { get; set; }
  17. /// <summary>
  18. /// 学生信息ID
  19. /// </summary>
  20. [Required]
  21. [DisplayName("学生信息ID")]
  22. public Guid? UserID { get; set; }
  23. /// <summary>
  24. /// 学号
  25. /// </summary>
  26. [DisplayName("学号")]
  27. public string StudentNo { get; set; }
  28. /// <summary>
  29. /// 姓名
  30. /// </summary>
  31. [DisplayName("姓名")]
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// 性别
  35. /// </summary>
  36. [DisplayName("性别")]
  37. public int? SexID { get; set; }
  38. /// <summary>
  39. /// 性别
  40. /// </summary>
  41. [DisplayName("性别")]
  42. public string SexName
  43. {
  44. get
  45. {
  46. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString()).Where(x => x.Value == SexID).Select(x => x.Name).FirstOrDefault();
  47. }
  48. }
  49. /// <summary>
  50. /// 出生日期
  51. /// </summary>
  52. [DisplayName("出生日期")]
  53. public DateTime? BirthDate { get; set; }
  54. /// <summary>
  55. /// 民族
  56. /// </summary>
  57. [DisplayName("民族")]
  58. public int? NationID { get; set; }
  59. /// <summary>
  60. /// 民族
  61. /// </summary>
  62. [DisplayName("民族")]
  63. public string NationName
  64. {
  65. get
  66. {
  67. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Nation.ToString()).Where(x => x.Value == NationID).Select(x => x.Name).FirstOrDefault();
  68. }
  69. }
  70. /// <summary>
  71. /// 政治面貌
  72. /// </summary>
  73. [DisplayName("政治面貌")]
  74. public int? PoliticsID { get; set; }
  75. /// <summary>
  76. /// 政治面貌
  77. /// </summary>
  78. [DisplayName("政治面貌")]
  79. public string PoliticsName
  80. {
  81. get
  82. {
  83. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString()).Where(x => x.Value == PoliticsID).Select(x => x.Name).FirstOrDefault();
  84. }
  85. }
  86. /// <summary>
  87. /// 在校状态
  88. /// </summary>
  89. [DisplayName("在校状态")]
  90. public int? InSchoolStatusID { get; set; }
  91. /// <summary>
  92. /// 在校状态
  93. /// </summary>
  94. [DisplayName("在校状态")]
  95. public string InSchoolStatusName
  96. {
  97. get
  98. {
  99. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == InSchoolStatusID).Select(x => x.Name).FirstOrDefault();
  100. }
  101. }
  102. /// <summary>
  103. /// 学籍状态
  104. /// </summary>
  105. [DisplayName("学籍状态")]
  106. public int? StudentStatus { get; set; }
  107. /// <summary>
  108. /// 学籍状态
  109. /// </summary>
  110. [DisplayName("学籍状态")]
  111. public string StudentStatusName
  112. {
  113. get
  114. {
  115. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
  116. }
  117. }
  118. /// <summary>
  119. /// 专业ID(Value)
  120. /// </summary>
  121. [DisplayName("专业ID(Value)")]
  122. public int? StandardID { get; set; }
  123. /// <summary>
  124. /// 专业代码
  125. /// </summary>
  126. [DisplayName("专业代码")]
  127. public string StandardCode
  128. {
  129. get
  130. {
  131. var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Code).FirstOrDefault();
  132. return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
  133. }
  134. }
  135. /// <summary>
  136. /// 专业名称
  137. /// </summary>
  138. [DisplayName("专业名称")]
  139. public string StandardName
  140. {
  141. get
  142. {
  143. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Name).FirstOrDefault();
  144. }
  145. }
  146. /// <summary>
  147. /// 培养层次
  148. /// </summary>
  149. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
  150. public int? EducationID { get; set; }
  151. /// <summary>
  152. /// 培养层次
  153. /// </summary>
  154. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
  155. public string EducationName
  156. {
  157. get
  158. {
  159. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == EducationID).Select(x => x.Name).FirstOrDefault();
  160. }
  161. }
  162. /// <summary>
  163. /// 学习形式
  164. /// </summary>
  165. [DisplayName("学习形式")]
  166. public int? LearningformID { get; set; }
  167. /// <summary>
  168. /// 学习形式
  169. /// </summary>
  170. [DisplayName("学习形式")]
  171. public string LearningformName
  172. {
  173. get
  174. {
  175. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == LearningformID).Select(x => x.Name).FirstOrDefault();
  176. }
  177. }
  178. /// <summary>
  179. /// 学制
  180. /// </summary>
  181. [DisplayName("学制")]
  182. public decimal? LearnSystem { get; set; }
  183. /// <summary>
  184. /// 班级信息ID
  185. /// </summary>
  186. [DisplayName("班级信息ID")]
  187. public Guid? ClassmajorID { get; set; }
  188. /// <summary>
  189. /// 班级编号
  190. /// </summary>
  191. [DisplayName("班级编号")]
  192. public string ClassmajorNo { get; set; }
  193. /// <summary>
  194. /// 班级名称
  195. /// </summary>
  196. [DisplayName("班级名称")]
  197. public string ClassmajorName { get; set; }
  198. /// <summary>
  199. /// 班序
  200. /// </summary>
  201. [DisplayName("班序")]
  202. public int? ClassNum { get; set; }
  203. /// <summary>
  204. /// 年级
  205. /// </summary>
  206. [DisplayName("年级")]
  207. public int? GradeID { get; set; }
  208. /// <summary>
  209. /// 年级
  210. /// </summary>
  211. [DisplayName("年级")]
  212. public string GradeName
  213. {
  214. get
  215. {
  216. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeID).Select(x => x.Name).FirstOrDefault();
  217. }
  218. }
  219. /// <summary>
  220. /// 年级专业ID
  221. /// </summary>
  222. [DisplayName("年级专业ID")]
  223. public Guid? GrademajorID { get; set; }
  224. /// <summary>
  225. /// 年级专业编号
  226. /// </summary>
  227. [DisplayName("年级专业编号")]
  228. public string GrademajorCode { get; set; }
  229. /// <summary>
  230. /// 年级专业名称
  231. /// </summary>
  232. [DisplayName("年级专业名称")]
  233. public string GrademajorName { get; set; }
  234. /// <summary>
  235. /// 院系专业ID
  236. /// </summary>
  237. [DisplayName("院系专业ID")]
  238. public Guid? FacultymajorID { get; set; }
  239. /// <summary>
  240. /// 院系专业编号
  241. /// </summary>
  242. [DisplayName("院系专业编号")]
  243. public string FacultymajorCode { get; set; }
  244. /// <summary>
  245. /// 院系专业名称
  246. /// </summary>
  247. [DisplayName("院系专业名称")]
  248. public string FacultymajorName { get; set; }
  249. /// <summary>
  250. /// 院系所ID
  251. /// </summary>
  252. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
  253. public Guid? CollegeID { get; set; }
  254. /// <summary>
  255. /// 院系所代码
  256. /// </summary>
  257. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  258. public string CollegeNo { get; set; }
  259. /// <summary>
  260. /// 院系所名称
  261. /// </summary>
  262. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  263. public string CollegeName { get; set; }
  264. /// <summary>
  265. /// 校区ID
  266. /// </summary>
  267. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
  268. public Guid? CampusID { get; set; }
  269. /// <summary>
  270. /// 校区代码
  271. /// </summary>
  272. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
  273. public string CampusNo { get; set; }
  274. /// <summary>
  275. /// 校区名称
  276. /// </summary>
  277. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")]
  278. public string CampusName { get; set; }
  279. /// <summary>
  280. /// 评价学生设定ID
  281. /// </summary>
  282. [Required]
  283. [DisplayName("评价学生设定ID")]
  284. public Guid? EvaluationStudentSettingID { get; set; }
  285. /// <summary>
  286. /// 教学任务班ID
  287. /// </summary>
  288. [Required]
  289. [DisplayName("教学任务班ID")]
  290. public Guid? EducationMissionClassID { get; set; }
  291. /// <summary>
  292. /// 教学任务ID
  293. /// </summary>
  294. [Required]
  295. [DisplayName("教学任务ID")]
  296. public Guid? EducationMissionID { get; set; }
  297. /// <summary>
  298. /// 学年学期ID
  299. /// </summary>
  300. [Required]
  301. [DisplayName("学年学期ID")]
  302. public Guid? SchoolyearID { get; set; }
  303. /// <summary>
  304. /// 学年学期对应的Value值
  305. /// </summary>
  306. [DisplayName("SchoolyearValue")]
  307. public int? SchoolyearValue { get; set; }
  308. /// <summary>
  309. /// 学年学期
  310. /// </summary>
  311. [DisplayName("学年学期")]
  312. public string SchoolyearCode { get; set; }
  313. /// <summary>
  314. /// 任务名称
  315. /// </summary>
  316. [Required]
  317. [DisplayName("任务名称")]
  318. public string MissionName { get; set; }
  319. /// <summary>
  320. /// 任务班名称
  321. /// </summary>
  322. [Required]
  323. [DisplayName("任务班名称")]
  324. public string MissionClassName { get; set; }
  325. /// <summary>
  326. /// 课程信息ID
  327. /// </summary>
  328. [Required]
  329. [DisplayName("课程信息ID")]
  330. public Guid? CoursematerialID { get; set; }
  331. /// <summary>
  332. /// 课程代码
  333. /// </summary>
  334. [DisplayName("课程代码")]
  335. public string CourseCode { get; set; }
  336. /// <summary>
  337. /// 课程名称
  338. /// </summary>
  339. [DisplayName("课程名称")]
  340. public string CourseName { get; set; }
  341. /// <summary>
  342. /// 课程结构
  343. /// </summary>
  344. [DisplayName("课程结构")]
  345. public int? CourseStructureID { get; set; }
  346. /// <summary>
  347. /// 课程结构
  348. /// </summary>
  349. [DisplayName("课程结构")]
  350. public string CourseStructureName
  351. {
  352. get
  353. {
  354. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseStructure.ToString()).Where(x => x.Value == CourseStructureID).Select(x => x.Name).FirstOrDefault();
  355. }
  356. }
  357. /// <summary>
  358. /// 课程属性
  359. /// </summary>
  360. [DisplayName("课程属性")]
  361. public int? CourseCategoryID { get; set; }
  362. /// <summary>
  363. /// 课程属性
  364. /// </summary>
  365. [DisplayName("课程属性")]
  366. public string CourseCategoryName
  367. {
  368. get
  369. {
  370. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseCategory.ToString()).Where(x => x.Value == CourseCategoryID).Select(x => x.Name).FirstOrDefault();
  371. }
  372. }
  373. /// <summary>
  374. /// 课程类型
  375. /// </summary>
  376. [DisplayName("课程类型")]
  377. public int? CourseTypeID { get; set; }
  378. /// <summary>
  379. /// 课程类型
  380. /// </summary>
  381. [DisplayName("课程类型")]
  382. public string CourseTypeName
  383. {
  384. get
  385. {
  386. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseType.ToString()).Where(x => x.Value == CourseTypeID).Select(x => x.Name).FirstOrDefault();
  387. }
  388. }
  389. /// <summary>
  390. /// 课程性质
  391. /// </summary>
  392. [DisplayName("课程性质")]
  393. public int? CourseQualityID { get; set; }
  394. /// <summary>
  395. /// 课程性质
  396. /// </summary>
  397. [DisplayName("课程性质")]
  398. public string CourseQualityName
  399. {
  400. get
  401. {
  402. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseQuality.ToString()).Where(x => x.Value == CourseQualityID).Select(x => x.Name).FirstOrDefault();
  403. }
  404. }
  405. /// <summary>
  406. /// 课程学分
  407. /// </summary>
  408. [DisplayName("课程学分")]
  409. public decimal? Credit { get; set; }
  410. /// <summary>
  411. /// 开课教研室ID
  412. /// </summary>
  413. [Required]
  414. [DisplayName("开课教研室")]
  415. public Guid? DepartmentID { get; set; }
  416. /// <summary>
  417. /// 开课教研室代码
  418. /// </summary>
  419. [DisplayName("开课教研室代码")]
  420. public string DepartmentNo { get; set; }
  421. /// <summary>
  422. /// 开课教研室
  423. /// </summary>
  424. [DisplayName("开课教研室")]
  425. public string DepartmentName { get; set; }
  426. /// <summary>
  427. /// 处理方式
  428. /// </summary>
  429. [DisplayName("处理方式")]
  430. public int? HandleModeID { get; set; }
  431. /// <summary>
  432. /// 处理方式
  433. /// </summary>
  434. [DisplayName("处理方式")]
  435. public string HandleModeName
  436. {
  437. get
  438. {
  439. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_HandleMode.ToString()).Where(x => x.Value == HandleModeID).Select(x => x.Name).FirstOrDefault();
  440. }
  441. }
  442. /// <summary>
  443. /// 授课方式
  444. /// </summary>
  445. [DisplayName("授课方式")]
  446. public int? TeachingModeID { get; set; }
  447. /// <summary>
  448. /// 授课方式
  449. /// </summary>
  450. [DisplayName("授课方式")]
  451. public string TeachingModeName
  452. {
  453. get
  454. {
  455. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeachingMode.ToString()).Where(x => x.Value == TeachingModeID).Select(x => x.Name).FirstOrDefault();
  456. }
  457. }
  458. /// <summary>
  459. /// 任务状态
  460. /// </summary>
  461. [DisplayName("任务状态")]
  462. public int? MissionClassStatus { get; set; }
  463. /// <summary>
  464. /// 任务状态
  465. /// </summary>
  466. public string MissionClassStatusName
  467. {
  468. get
  469. {
  470. return IdNameExt.GetDictionaryItem(DictionaryItem.EM_EducationMissionClassStatus.ToString()).Where(x => x.Value == MissionClassStatus).Select(x => x.Name).FirstOrDefault();
  471. }
  472. }
  473. /// <summary>
  474. /// 评价表ID
  475. /// </summary>
  476. [Required]
  477. [DisplayName("评价表ID")]
  478. public Guid? EvaluationTableID { get; set; }
  479. /// <summary>
  480. /// 评价表编号
  481. /// </summary>
  482. [DisplayName("评价表编号")]
  483. public string EvaluationTableCode { get; set; }
  484. /// <summary>
  485. /// 评价表名
  486. /// </summary>
  487. [DisplayName("评价表名")]
  488. public string EvaluationTableName { get; set; }
  489. /// <summary>
  490. /// 评价表权重
  491. /// </summary>
  492. [DisplayName("评价表权重")]
  493. public int? EvaluationTableWeight { get; set; }
  494. /// <summary>
  495. /// 参评类型ID
  496. /// </summary>
  497. [DisplayName("参评类型ID")]
  498. public Guid? EvaluationParticipateTypeID { get; set; }
  499. /// <summary>
  500. /// 参评类型
  501. /// </summary>
  502. [DisplayName("参评类型")]
  503. public int? ParticipateTypeID { get; set; }
  504. /// <summary>
  505. /// 参评类型
  506. /// </summary>
  507. [DisplayName("参评类型")]
  508. public string ParticipateTypeName
  509. {
  510. get
  511. {
  512. return IdNameExt.GetDictionaryItem(DictionaryItem.EM_ParticipateType.ToString()).Where(x => x.Value == ParticipateTypeID).Select(x => x.Name).FirstOrDefault();
  513. }
  514. }
  515. /// <summary>
  516. /// 评价类型ID
  517. /// </summary>
  518. [DisplayName("评价类型ID")]
  519. public Guid? EvaluationTypeID { get; set; }
  520. /// <summary>
  521. /// 评价类型编号
  522. /// </summary>
  523. [DisplayName("评价类型编号")]
  524. public string EvaluationTypeCode { get; set; }
  525. /// <summary>
  526. /// 评价类型
  527. /// </summary>
  528. [DisplayName("评价类型")]
  529. public string EvaluationTypeName { get; set; }
  530. /// <summary>
  531. /// 任课教师ID
  532. /// </summary>
  533. [Required]
  534. [DisplayName("任课教师ID")]
  535. public Guid? StaffUserID { get; set; }
  536. /// <summary>
  537. /// 教师工号
  538. /// </summary>
  539. [DisplayName("教师工号")]
  540. public string StaffCode { get; set; }
  541. /// <summary>
  542. /// 任课教师
  543. /// </summary>
  544. [DisplayName("任课教师")]
  545. public string StaffName { get; set; }
  546. /// <summary>
  547. /// 职称
  548. /// </summary>
  549. [DisplayName("职称")]
  550. public int? TitleID { get; set; }
  551. /// <summary>
  552. /// 职称
  553. /// </summary>
  554. [DisplayName("职称")]
  555. public string TitleName
  556. {
  557. get
  558. {
  559. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Title.ToString()).Where(x => x.Value == TitleID).Select(x => x.Name).FirstOrDefault();
  560. }
  561. }
  562. /// <summary>
  563. /// 任课方式
  564. /// </summary>
  565. [Required]
  566. [DisplayName("任课方式")]
  567. public int? TeachingMethodID { get; set; }
  568. /// <summary>
  569. /// 任课方式
  570. /// </summary>
  571. [DisplayName("任课方式")]
  572. public string TeachingMethodName
  573. {
  574. get
  575. {
  576. return IdNameExt.GetDictionaryItem(DictionaryItem.EM_TeachingMethod.ToString()).Where(x => x.Value == TeachingMethodID).Select(x => x.Name).FirstOrDefault();
  577. }
  578. }
  579. /// <summary>
  580. /// 教师照片
  581. /// </summary>
  582. [DisplayName("教师照片")]
  583. public string StaffPhotoUrl { get; set; }
  584. /// <summary>
  585. /// 照片
  586. /// </summary>
  587. [DisplayName("照片")]
  588. public string StaffPhotoUrlStr
  589. {
  590. get
  591. {
  592. if (string.IsNullOrWhiteSpace(this.StaffPhotoUrl))
  593. {
  594. return "/Content/images/noPhoto.png";
  595. }
  596. else
  597. {
  598. return this.StaffPhotoUrl;
  599. }
  600. }
  601. }
  602. /// <summary>
  603. /// 开放状态
  604. /// </summary>
  605. [DisplayName("开放状态")]
  606. public bool OpenState { get; set; }
  607. /// <summary>
  608. /// 开放状态
  609. /// </summary>
  610. [DisplayName("开放状态")]
  611. public string OpenStateName
  612. {
  613. get { return this.OpenState == true ? "是" : "否"; }
  614. }
  615. /// <summary>
  616. /// 可评次数
  617. /// </summary>
  618. [DisplayName("可评次数")]
  619. public int? Number { get; set; }
  620. /// <summary>
  621. /// 开始时间
  622. /// </summary>
  623. [DisplayName("开始时间")]
  624. public DateTime? StartTime { get; set; }
  625. /// <summary>
  626. /// 结束时间
  627. /// </summary>
  628. [DisplayName("结束时间")]
  629. public DateTime? EndTime { get; set; }
  630. /// <summary>
  631. /// 已评次数
  632. /// </summary>
  633. [Required]
  634. [DisplayName("已评次数")]
  635. public int? Numbered { get; set; }
  636. /// <summary>
  637. /// 是否有效
  638. /// </summary>
  639. [DisplayName("是否有效")]
  640. public bool IsValidity { get; set; }
  641. /// <summary>
  642. /// 是否有效
  643. /// </summary>
  644. [DisplayName("是否有效")]
  645. public string IsValidityName
  646. {
  647. get { return this.IsValidity == true ? "是" : "否"; }
  648. }
  649. /// <summary>
  650. /// 评价项目Json
  651. /// </summary>
  652. [DisplayName("评价项目Json")]
  653. public string JsonDataStr { get; set; }
  654. /// <summary>
  655. /// 项目数
  656. /// </summary>
  657. [DisplayName("项目数")]
  658. public int? ProjectCount { get; set; }
  659. /// <summary>
  660. /// 评分
  661. /// </summary>
  662. [Required]
  663. [DisplayName("评分")]
  664. [RegularExpression(@"^\d+(\.\d{1,2})?$", ErrorMessage = "请输入分数或保留2位以下小数点分数")]
  665. public decimal? TotalScore { get; set; }
  666. /// <summary>
  667. /// 评语建议
  668. /// </summary>
  669. [Required]
  670. [DisplayName("评语建议")]
  671. public string Advice { get; set; }
  672. /// <summary>
  673. /// 备注
  674. /// </summary>
  675. [DisplayName("备注")]
  676. public string Remark { get; set; }
  677. /// <summary>
  678. /// 状态
  679. /// </summary>
  680. [DisplayName("状态")]
  681. public int? RecordStatus { get; set; }
  682. /// <summary>
  683. /// 创建人
  684. /// </summary>
  685. [DisplayName("创建人")]
  686. public Guid? CreateUserID { get; set; }
  687. /// <summary>
  688. /// 创建时间
  689. /// </summary>
  690. [DisplayName("创建时间")]
  691. public DateTime? CreateTime { get; set; }
  692. /// <summary>
  693. /// 修改人
  694. /// </summary>
  695. [DisplayName("修改人")]
  696. public Guid? ModifyUserID { get; set; }
  697. /// <summary>
  698. /// 修改时间
  699. /// </summary>
  700. [DisplayName("修改时间")]
  701. public DateTime? ModifyTime { get; set; }
  702. }
  703. }