OfficialActivitiesView.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 { get {
  13. List<string> urls = new List<string>();
  14. urls = !string.IsNullOrEmpty(ScreenshotOfMailUrl)
  15. ? JsonConvert.DeserializeObject<List<string>>(ScreenshotOfMailUrl)
  16. : new List<string>();
  17. List<string> urls1 = new List<string>();
  18. urls.ForEach(x => {
  19. urls1.Add("http://132.232.92.186:24/" + x);
  20. });
  21. return urls1;
  22. } }
  23. public string CreateUserName { get; set; }
  24. public string OfficialFormName { get; set; }
  25. }
  26. /// <summary>
  27. /// 请示范例 Tips View
  28. /// </summary>
  29. public class ReqReqSampleTipsView
  30. {
  31. public string TeamName { get; set; }
  32. public string Country { get; set; }
  33. public string Area { get; set; }
  34. public string Client { get; set; }
  35. public string ReqSample { get; set; }
  36. }
  37. }