OfficialActivitiesView.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using Newtonsoft.Json;
  2. using OASystem.Domain.Entities.Resource;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.ViewModels.Resource
  9. {
  10. public class OfficialActivitiesView : Res_OfficialActivities
  11. {
  12. public List<string> ScreenshotOfMailUrls
  13. {
  14. get
  15. {
  16. List<string> urls = new List<string>();
  17. urls = !string.IsNullOrEmpty(ScreenshotOfMailUrl)
  18. ? JsonConvert.DeserializeObject<List<string>>(ScreenshotOfMailUrl)
  19. : new List<string>();
  20. List<string> urls1 = new List<string>();
  21. urls.ForEach(x =>
  22. {
  23. urls1.Add("http://132.232.92.186:24/" + x);
  24. });
  25. return urls1;
  26. }
  27. }
  28. /// <summary>
  29. /// 性质
  30. /// </summary>
  31. public string NatureName { get; set; }
  32. public string CreateUserName { get; set; }
  33. public string OfficialFormName { get; set; }
  34. }
  35. /// <summary>
  36. /// 请示范例 Tips View
  37. /// </summary>
  38. public class ReqReqSampleTipsView
  39. {
  40. public string TeamName { get; set; }
  41. public string Country { get; set; }
  42. public string Area { get; set; }
  43. public string Client { get; set; }
  44. public string ReqSample { get; set; }
  45. }
  46. }