public Account(Customer customer, decimal balance, decimal interestRate)
 {
     this.Customer = customer;
     this.Balance = balance;
     this.InterestRate = interestRate;
     //this.Period = period;
 }
 public Deposit(Customer customer, decimal balance, decimal interestRate)
     : base(customer,balance,interestRate)
 {
 }
 public Mortgage(Customer customer, decimal balance, decimal interestRate)
     : base(customer,balance,interestRate)
 {
 }
 public Loan(Customer customer, decimal balance, decimal interestRate)
     : base(customer,balance,interestRate)
 {
 }