public Account(AccountDoc doc) { accNum = doc.AccNum; name = doc.Name; balance = doc.Balance; pin = doc.Pin; _id = doc._id; }
public CurrentAccount(AccountDoc doc) : base(doc) { }
public SavingsAccount(AccountDoc doc) : base(doc) { }