GroupLinkInvitingView.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. using OASystem.Domain.Entities.Groups;
  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.Groups
  9. {
  10. public class GroupLinkInvitingView
  11. {
  12. }
  13. public class GroupLinkInvitingUnitNameInitView
  14. {
  15. public int Row_Number { get; set; }
  16. public int Id { get; set; }
  17. public string UnitName { get; set; }
  18. }
  19. public class GroupLinkInvitingPageListView
  20. {
  21. [SqlSugar.SugarColumn(IsPrimaryKey = true)]
  22. public int Id { get; set; }
  23. public string TeamName { get; set; }
  24. public DateTime VisitStartDate { get; set; }
  25. public DateTime VisitEndDate { get; set; }
  26. /// <summary>
  27. /// 团组类型
  28. /// </summary>
  29. public string TeamDid { get; set; }
  30. public string TeamLevSId { get; set; }
  31. /// <summary>
  32. /// 出访国家
  33. /// </summary>
  34. public string VisitCountry { get; set; }
  35. /// <summary>
  36. /// 出访天数
  37. /// </summary>
  38. public int VisitDays { get; set; }
  39. /// <summary>
  40. /// 出访人数
  41. /// </summary>
  42. public int VisitPNumber { get; set; }
  43. /// <summary>
  44. /// 接团操作人
  45. /// </summary>
  46. public string JietuanOperator { get; set; }
  47. /// <summary>
  48. /// 客户名称
  49. /// </summary>
  50. public string ClientName { get; set; }
  51. /// <summary>
  52. /// 客户单位
  53. /// </summary>
  54. public string ClientUnit { get; set; }
  55. public int IsDel { get; set; }
  56. [Navigate(NavigateType.OneToMany, nameof(Res_OfficialActivities.DiId), nameof(Id))]
  57. public List<InvitingInfo> InvitingInfos { get; set; }
  58. }
  59. [SugarTable("Res_OfficialActivities")]
  60. public class InvitingInfo
  61. {
  62. public int Id { get; set; }
  63. public int DiId { get; set; }
  64. public string Country { get; set; }
  65. public string Area { get; set; }
  66. public string Client { get; set; }
  67. public string Contact { get; set; }
  68. public string Job { get; set; }
  69. public int IsDel { get; set; }
  70. }
  71. public class GroupLinkInvitingPageListView1 : Grp_DelegationInfo
  72. {
  73. [Navigate(NavigateType.OneToMany, nameof(Res_OfficialActivities.DiId), nameof(Id))]
  74. public List<Res_OfficialActivities> InvitingInfos { get; set; }
  75. }
  76. }