You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.8 KiB

1 year ago
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Common.Model.DynamicReceiverSetup
  5. {
  6. public class DynamicReceiver
  7. {
  8. public class DynamicReceiverRequest
  9. {
  10. [Required]
  11. public string CountryId { get; set; }
  12. [Required]
  13. public string ServiceType { get; set; }
  14. [JsonIgnore]
  15. public string deviceType { get; set; }
  16. }
  17. public class DymanicField
  18. {
  19. public string Field { get; set; }
  20. public string FieldRequired { get; set; }
  21. public int MinLength { get; set; }
  22. public int MaxLength { get; set; }
  23. public string Keyboard { get; set; }
  24. }
  25. public class CountryList
  26. {
  27. public string countryCode { get; set; }
  28. public string countryName { get; set; }
  29. public string countryId { get; set; }
  30. public List<ServiceTypeAvailable> servicetypeAvailable { get; set; }
  31. }
  32. public class ServiceTypeAvailable
  33. {
  34. public string id { get; set; }
  35. public string text { get; set; }
  36. public string description { get; set; }
  37. public string[] currency { get; set; }
  38. }
  39. public class currency
  40. {
  41. public string text { get; set; }
  42. }
  43. public class DynamicStaticData
  44. {
  45. public List<TransferReason> TransferReasons { get; set; }
  46. public List<Relation> Relations { get; set; }
  47. public List<IdType> ReceiverIdType { get; set; }
  48. public List<Provinces> Provinces { get; set; }
  49. public List<DPayoutmode> PayoutMode { get; set; }
  50. // public CountryServiceDetail CountryServiceDetail { get; set; }
  51. public List<Banks> BankList { get; set; }
  52. //public List<District> District { get; set; }
  53. }
  54. public class Provinces
  55. {
  56. public string id { get; set; }
  57. public string text { get; set; }
  58. public List<District> District { get; set; }
  59. }
  60. public class DPayoutmode
  61. {
  62. public string Id { get; set; }
  63. public string Mode { get; set; }
  64. public string ModeDescription { get; set; }
  65. public string PayoutPartner { get; set; }
  66. public List<string> PayCurrency { get; set; }
  67. public string Bankrequired { get; set; }
  68. public List<Banks> BankList { get; set; }
  69. }
  70. //public class proviences
  71. //{
  72. // public string Name { get; set; }
  73. // public string Id { get; set; }
  74. // public string IsProvienceReq { get; set; }
  75. // public string Code { get; set; }
  76. // public List<Province> Provinces { get; set; }
  77. //}
  78. }
  79. }