OfficialActivitiesView.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. public string ConfirmTheInvitationStr
  35. {
  36. get {
  37. return this.ConfirmTheInvitation == 0 ? "未确认" : "已确认";
  38. }
  39. }
  40. }
  41. /// <summary>
  42. /// 请示范例 Tips View
  43. /// </summary>
  44. public class ReqReqSampleTipsView
  45. {
  46. public string TeamName { get; set; }
  47. public string Country { get; set; }
  48. public string Area { get; set; }
  49. public string Client { get; set; }
  50. public string ReqSample { get; set; }
  51. }
  52. }