CourseOutput.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 科目简要输出参数
  5. /// </summary>
  6. public class CourseLiteOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public short Id { get; set; }
  13. /// <summary>
  14. /// 名称
  15. /// </summary>
  16. [Required]
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 简称
  20. /// </summary>
  21. [Required]
  22. public string ShortName { get; set; }
  23. /// <summary>
  24. /// 别称
  25. /// </summary>
  26. public string NickName { get; set; }
  27. /// <summary>
  28. /// 状态
  29. /// </summary>
  30. [Required]
  31. public CommonStatus Status { get; set; }
  32. }
  33. /// <summary>
  34. /// 科目完整输出参数
  35. /// </summary>
  36. public class CourseOutput : DEntityOutput
  37. {
  38. /// <summary>
  39. /// 名称
  40. /// </summary>
  41. [Required]
  42. public string Name { get; set; }
  43. /// <summary>
  44. /// 简称
  45. /// </summary>
  46. [Required]
  47. public string ShortName { get; set; }
  48. /// <summary>
  49. /// 别称
  50. /// </summary>
  51. public string NickName { get; set; }
  52. /// <summary>
  53. /// 备注
  54. /// </summary>
  55. public string Remark { get; set; }
  56. }