ScoreFormulaView.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. namespace EMIS.ViewModel.ScoreManage
  8. {
  9. public class ScoreFormulaView
  10. {
  11. /// <summary>
  12. /// 成绩公式设置ID
  13. /// </summary>
  14. [DisplayName("成绩公式设置ID")]
  15. public Guid? ScoreFormulaID { get; set; }
  16. /// <summary>
  17. /// 成绩公式名称
  18. /// </summary>
  19. [Required]
  20. [DisplayName("成绩公式名称")]
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 成绩公式设置明细ID
  24. /// </summary>
  25. [DisplayName("成绩公式设置明细ID")]
  26. public Guid? ScoreFormulaDetailID { get; set; }
  27. /// <summary>
  28. /// 分数类型
  29. /// </summary>
  30. [DisplayName("分数类型")]
  31. public int? ScoreType { get; set; }
  32. /// <summary>
  33. /// 百分比
  34. /// </summary>
  35. [DisplayName("百分比")]
  36. public int? Percentage { get; set; }
  37. /// <summary>
  38. /// 必须通过成绩
  39. /// </summary>
  40. [DisplayName("必须通过成绩")]
  41. public decimal? PassScore { get; set; }
  42. /// <summary>
  43. /// 创建时间
  44. /// </summary>
  45. [DisplayName("创建时间")]
  46. public DateTime? CreateTime { get; set; }
  47. /// <summary>
  48. /// 创建人
  49. /// </summary>
  50. [DisplayName("创建人")]
  51. public Guid? CreateUserID { get; set; }
  52. }
  53. }