OfficialActivitiesView.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. /// <summary>
  13. /// 翻译人员Id
  14. /// </summary>
  15. public int[] TranslatorIdItem { get; set; }
  16. public List<string> ScreenshotOfMailUrls
  17. {
  18. get
  19. {
  20. List<string> urls = new List<string>();
  21. urls = !string.IsNullOrEmpty(ScreenshotOfMailUrl)
  22. ? JsonConvert.DeserializeObject<List<string>>(ScreenshotOfMailUrl)
  23. : new List<string>();
  24. List<string> urls1 = new List<string>();
  25. urls.ForEach(x =>
  26. {
  27. urls1.Add("http://132.232.92.186:24/" + x);
  28. });
  29. return urls1;
  30. }
  31. }
  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. }