LibraryView.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.TeachingMaterial
  8. {
  9. public class LibraryView
  10. {
  11. /// <summary>
  12. /// 书库ID
  13. /// </summary>
  14. [DisplayName("书库ID")]
  15. public Guid LibraryID { get; set; }
  16. /// <summary>
  17. /// 书库编号
  18. /// </summary>
  19. /// [Required]
  20. [DisplayName("书库编号")]
  21. [Required]
  22. public string LibraryCode { get; set; }
  23. /// <summary>
  24. /// 书库名称
  25. /// </summary>
  26. [DisplayName("书库名称")]
  27. [Required]
  28. public string LibraryName { get; set; }
  29. /// <summary>
  30. /// 校区ID
  31. /// </summary>
  32. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusID")]
  33. [Required]
  34. public Guid? CampusID { get; set; }
  35. /// <summary>
  36. /// 校区代码
  37. /// </summary>
  38. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
  39. public string CampusCode { get; set; }
  40. /// <summary>
  41. ///校区名称
  42. /// </summary>
  43. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")]
  44. public string CampusName { get; set; }
  45. /// <summary>
  46. /// 负责人
  47. /// </summary>
  48. [DisplayName("负责人")]
  49. public string HeadPeople { get; set; }
  50. /// <summary>
  51. /// 联系电话
  52. /// </summary>
  53. [DisplayName("联系电话")]
  54. public string ContectTelNumber { get; set; }
  55. /// <summary>
  56. /// 备注
  57. /// </summary>
  58. [DisplayName("备注")]
  59. public string Desc { get; set; }
  60. /// <summary>
  61. /// 创建时间
  62. /// </summary>
  63. [DisplayName("创建时间")]
  64. public DateTime ?CreateTime { get; set; }
  65. /// <summary>
  66. /// 创建人
  67. /// </summary>
  68. [DisplayName("创建人")]
  69. public string CreateUserName { get; set; }
  70. }
  71. }