示例#1
0
文件: Account.cs 项目: lukeses/bank
 public Account(int id, string Owner, int bal)
 {
     this.ID           = id;
     this.owner        = owner;
     this.openingDate  = DateTime.Now;
     this.operations   = new List <Operation>();
     this.balance      = bal;
     this.InterestRate = new GoldInterest();
 }
示例#2
0
文件: Account.cs 项目: lukeses/bank
 public Account(IntresetRateMechanism itr)
 {
     this.InterestRateMechanism = itr;
 }