InvitationOfficialActivitiesView.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. using EyeSoft.Collections.Generic;
  2. using Newtonsoft.Json;
  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.Groups
  9. {
  10. public class InvitationOfficialActivitiesView
  11. {
  12. /// <summary>
  13. /// 主键Id
  14. /// </summary>
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 团组Id
  18. /// </summary>
  19. public int DiId { get; set; }
  20. /// <summary>
  21. /// 邀请方地区
  22. /// </summary>
  23. public string InviterArea { get; set; }
  24. /// <summary>
  25. /// 邀请方
  26. /// </summary>
  27. public string Inviter { get; set; }
  28. /// <summary>
  29. /// 邀请时间
  30. /// </summary>
  31. public DateTime InviteTime { get; set; }
  32. /// <summary>
  33. /// 邀请费用
  34. /// </summary>
  35. public decimal InviteCost { get; set; }
  36. /// <summary>
  37. /// 邀请费用币种
  38. /// </summary>
  39. public string? InviteCurrency { get; set; }
  40. /// <summary>
  41. /// 快递费用
  42. /// </summary>
  43. public decimal SendCost { get; set; }
  44. /// <summary>
  45. /// 快递费用币种
  46. /// </summary>
  47. public string? SendCurrency { get; set; }
  48. /// <summary>
  49. /// 公务活动费
  50. /// </summary>
  51. public decimal EventsCost { get; set; }
  52. /// <summary>
  53. /// 公务活动费币种
  54. /// </summary>
  55. public string? EventsCurrency { get; set; }
  56. /// <summary>
  57. /// 公务翻译费
  58. /// </summary>
  59. public decimal TranslateCost { get; set; }
  60. /// <summary>
  61. /// 公务翻译费币种
  62. /// </summary>
  63. public string? TranslateCurrency { get; set; }
  64. /// <summary>
  65. /// 付款金额
  66. /// </summary>
  67. public decimal PayMoney { get; set; }
  68. /// <summary>
  69. /// 付款币种
  70. /// </summary>
  71. public string? PaymentCurrency { get; set; }
  72. /// <summary>
  73. /// 是否到场
  74. /// </summary>
  75. public int IsGoOfficaiaBussiness { get; set; }
  76. /// <summary>
  77. /// 文件地址
  78. /// </summary>
  79. public string Attachment { get; set; }
  80. /// <summary>
  81. /// 附件
  82. /// </summary>
  83. public string[] Attachments
  84. {
  85. get
  86. {
  87. var array = new string[] { };
  88. if (!string.IsNullOrEmpty(Attachment))
  89. {
  90. try
  91. {
  92. array = JsonConvert.DeserializeObject<string[]>(Attachment);
  93. }
  94. catch (Exception)
  95. {
  96. array = new List<string>() { Attachment }.ToArray();
  97. }
  98. }
  99. return array;
  100. }
  101. }
  102. /// <summary>
  103. /// 是否审核
  104. /// </summary>
  105. public int IsAudit { get; set; }
  106. public int IsPay { get; set; }
  107. }
  108. }