Grp_DelegationVisaView.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.ViewModels.Groups
  8. {
  9. public class DelegationVisaViewList : ListViewBase<Grp_DelegationVisaView>
  10. {
  11. }
  12. /// <summary>
  13. /// 团组签证进度ViewModel
  14. /// IOS启用
  15. /// </summary>
  16. public class Grp_DelegationVisaView
  17. {
  18. public int RowNumber { get; set; }
  19. public int DiId { get; set; }
  20. public string TeamName { get; set; }
  21. public string ClientUnit { get; set; }
  22. public string ClientName { get; set; }
  23. public string TeamLev { get; set; }
  24. public string VisitDate { get; set; }
  25. public int VisitDays { get; set; }
  26. public int VisitPNumber { get; set; }
  27. public string CompletePNumber { get; set; } = "已完成0人";
  28. }
  29. public class DelegationVisaProgressView
  30. {
  31. /// <summary>
  32. /// ID
  33. /// DeleClient.ID
  34. /// </summary>
  35. public int ProgressViewId { get; set; }
  36. //public int RowNumber { get; set; }
  37. public int DiId { get; set; }
  38. public int CustomerId { get; set; }
  39. public string LastName { get; set; }
  40. public string FirstName { get; set; }
  41. public string Country { get; set; }
  42. public int StatusSign { get; set; }
  43. private string statusstr = "未知";
  44. public string StatusStr
  45. {
  46. get
  47. {
  48. switch (StatusSign)
  49. {
  50. case 0: statusstr = "未完成"; break;
  51. case 1: statusstr = "已完成"; break;
  52. case 2: statusstr = "已忽略"; break;
  53. default: statusstr = "未知"; break;
  54. }
  55. return statusstr;
  56. }
  57. set
  58. {
  59. this.statusstr = value;
  60. }
  61. }
  62. public DelegationVisaPicCountList PicCountList { get; set; }
  63. }
  64. public class DelegationVisaPicCountList
  65. {
  66. public int FirstPageCount { get; set; } = 0;
  67. public int DocumentsCount { get; set; } = 0;
  68. public int ExemptionCount { get; set; } = 0;
  69. public int DispatchCount { get; set; } = 0;
  70. public int VisaCount { get; set; } = 0;
  71. public int InvoiceCount { get; set; } = 0;
  72. public int TotalCount { get; set; } = 0;
  73. public void totalCount()
  74. {
  75. this.TotalCount = this.FirstPageCount + this.DocumentsCount + this.ExemptionCount + this.DispatchCount + this.VisaCount + this.InvoiceCount;
  76. }
  77. }
  78. public class DelegationVisaVisitCountryView
  79. {
  80. public int CountryViewId { get; set; }
  81. public int PersonViewId { get; set; }
  82. public string PicName { get; set; }
  83. public Entities.Groups.Enum_DelegationVisaPicType PicType { get; set; }
  84. public string PicPath { get; set; }
  85. }
  86. public class VisaProgressImageView
  87. {
  88. public int imageId { get; set; }
  89. public string url { get; set; }
  90. public string path { get; set; }
  91. public string picName { get; set; }
  92. }
  93. }