using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DMR
/// </summary>
///
namespace DMROBJECT
{
    public class DMR
    {
        public string statuscode { get; set; }
        public string status { get; set; }
        public List<Record> data { get; set; }
        public class Record
        {
            public List<Remitter> remitter { get; set; }
            public List<Beneficiary> beneficiary { get; set; }
            public List<Remitter_limit> remitter_limit { get; set; }
        }
        public class Beneficiary
        {
            public string id { get; set; }
            public string name { get; set; }
            public string mobile { get; set; }
            public string account { get; set; }
            public string bank { get; set; }
            public string status { get; set; }
            public string last_success_date { get; set; }
            public string last_success_name { get; set; }
            public string last_success_imps { get; set; }
            public string ifsc { get; set; }
            public string imps { get; set; }

        }
        public class Remitter
        {
            public string is_verified { get; set; }
            public string id { get; set; }
            public string name { get; set; }
            public string mobile { get; set; }
            public string address { get; set; }
            public string pincode { get; set; }
            public string city { get; set; }
            public string state { get; set; }
            public string kycstatus { get; set; }
            public string consumedlimit { get; set; }
            public string remaininglimit { get; set; }
            public string perm_txn_limit { get; set; }

            //public Remitter(string id, string name, string mobile, string address, string pincode, string city, string state, string kycstatus, string consumedlimit, string remaininglimit, string perm_txn_limit)
            //{
            //    this.id = id;
            //    this.name = name;
            //    this.mobile = mobile;
            //    this.address = address;
            //    this.pincode = pincode;
            //    this.city = city;
            //    this.state = state;
            //    this.kycstatus = kycstatus;
            //    this.consumedlimit = consumedlimit;
            //    this.remaininglimit = remaininglimit;
            //    this.perm_txn_limit = perm_txn_limit;
            //}
        }
    
        public class Remitter_limit
        {
            public string code { get; set; }
            public string status { get; set; }
            public List<moded> mode { get; set; }
            public List<limited> limit { get; set; }
        }
        public class moded
        {
            public string imps { get; set; }
            public string neft { get; set; }
        }
        public class limited
        {
            public string total { get; set; }
            public string consumed { get; set; }
            public string remaining { get; set; }
        }
        
    }
    public class Bank
    {
        public string id { get; set; }
        public string bank_sort_name { get; set; }
        public string bank_name { get; set; }
        public string imps_enabled { get; set; }
        public string branch_ifsc { get; set; }
    }
    
    
   
    
}