namespace FacadePattern
{
    /// 
    ///     银行现金业务子系统
    /// 
    public interface IBankSubsystem
    {
        /// 
        ///     查询余额
        /// 
        /// 银行账户
        /// 
        int CheckBalance(BankAccount account);
        /// 
        ///     取款
        /// 
        /// 银行账户
        /// 取多少钱
        /// 
        bool WithdrewMoney(BankAccount account, int money);
        /// 
        ///     存款
        /// 
        /// 银行账户
        /// 存多少钱
        /// 
        bool DepositMoney(BankAccount account, int money);
        /// 
        ///     转账
        /// 
        /// 转出账户
        /// 目标账户
        /// 转多少钱
        /// 
        bool TransferMoney(BankAccount account, string targetNo, int money);
        /// 
        ///     充值话费
        /// 
        /// 手机号
        /// 银行账户
        /// 充值多少
        /// 
        bool RechargeMobilePhone(BankAccount account, string phoneNumber, int money);
    }
}