AnnouncementView.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting
  5. {
  6. public class AnnouncementView
  7. {
  8. /// <summary>
  9. /// AnnouncementID
  10. /// </summary>
  11. public System.Guid? AnnouncementID { get; set; }
  12. public string Title { get; set; }
  13. public string Content { get; set; }
  14. public Nullable<System.DateTime> StartTime { get; set; }
  15. public Nullable<System.DateTime> EndTime { get; set; }
  16. public bool? IsTop { get; set; }
  17. public string IsTopStr
  18. {
  19. get
  20. {
  21. return IsTop == null ? "" : (IsTop.Value ? "是" : "否");
  22. }
  23. }
  24. public int? OrderByNum { get; set; }
  25. /// <summary>
  26. /// RecordStatus
  27. /// </summary>
  28. public Nullable<int> RecordStatus { get; set; }
  29. /// <summary>
  30. /// CreateTime
  31. /// </summary>
  32. public Nullable<System.DateTime> CreateTime { get; set; }
  33. /// <summary>
  34. /// CreateUserID
  35. /// </summary>
  36. public Nullable<System.Guid> CreateUserID { get; set; }
  37. public string CreateUserName { get; set; }
  38. public Nullable<System.Guid> CreateDepartmentID { get; set; }
  39. public string CreateDepartmentName { get; set; }
  40. public IEnumerable<Guid> UserIds { get; set; }
  41. public IEnumerable<Guid> RoleIds { get; set; }
  42. /// <summary>
  43. /// ModifyUserID
  44. /// </summary>
  45. public Nullable<System.Guid> ModifyUserID { get; set; }
  46. public string ModifyUserName { get; set; }
  47. /// <summary>
  48. /// ModifyTime
  49. /// </summary>
  50. public Nullable<System.DateTime> ModifyTime { get; set; }
  51. }
  52. }