using Newtonsoft.Json; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Common.Model.DynamicReceiverSetup { public class DynamicReceiver { public class DynamicReceiverRequest { [Required] public string CountryId { get; set; } [Required] public string ServiceType { get; set; } [JsonIgnore] public string deviceType { get; set; } } public class DymanicField { public string Field { get; set; } public string FieldRequired { get; set; } public int MinLength { get; set; } public int MaxLength { get; set; } public string Keyboard { get; set; } } public class CountryList { public string countryCode { get; set; } public string countryName { get; set; } public string countryId { get; set; } public List servicetypeAvailable { get; set; } } public class ServiceTypeAvailable { public string id { get; set; } public string text { get; set; } public string description { get; set; } public string[] currency { get; set; } } public class currency { public string text { get; set; } } public class DynamicStaticData { public List TransferReasons { get; set; } public List Relations { get; set; } public List ReceiverIdType { get; set; } public List Provinces { get; set; } public List PayoutMode { get; set; } // public CountryServiceDetail CountryServiceDetail { get; set; } public List BankList { get; set; } //public List District { get; set; } } public class Provinces { public string id { get; set; } public string text { get; set; } public List District { get; set; } } public class DPayoutmode { public string Id { get; set; } public string Mode { get; set; } public string ModeDescription { get; set; } public string PayoutPartner { get; set; } public List PayCurrency { get; set; } public string Bankrequired { get; set; } public List BankList { get; set; } } //public class proviences //{ // public string Name { get; set; } // public string Id { get; set; } // public string IsProvienceReq { get; set; } // public string Code { get; set; } // public List Provinces { get; set; } //} } }