NoticeView.cs 831 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting
  5. {
  6. public class NoticeView
  7. {
  8. public Guid NoticeID { get; set; }
  9. public int Type { get; set; }
  10. public string TypeDesc
  11. {
  12. get
  13. {
  14. return DictionaryCache.GetDictionaryItem("NoticeType", Type).Result?.Name;
  15. }
  16. }
  17. public bool? IsTop { get; set; }
  18. public string Title { get; set; }
  19. public DateTime? CreateTime { get; set; }
  20. public string CreateUserName { get; set; }
  21. public string Content { get; set; }
  22. public string Url { get; set; }
  23. public string PID { get; set; }
  24. public string FID { get; set; }
  25. public string KID { get; set; }
  26. }
  27. }