OfficialActivitiesView.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. public string CreateUserName { get; set; }
  29. public string OfficialFormName { get; set; }
  30. }
  31. /// <summary>
  32. /// 请示范例 Tips View
  33. /// </summary>
  34. public class ReqReqSampleTipsView
  35. {
  36. public string TeamName { get; set; }
  37. public string Country { get; set; }
  38. public string Area { get; set; }
  39. public string Client { get; set; }
  40. public string ReqSample { get; set; }
  41. }
  42. }