/// <summary> /// Конструктор с параметрами /// </summary> /// <param name="Holder">Клиент</param> /// <param name="Amount">Сумма</param> /// <param name="Month">Спрок в месяцах</param> public DepositModel(AClient Holder, decimal Amount, int Month) : base(Holder, Amount, Month) { Payment = Amount * (Percent / 100) / 12; }
/// <summary> /// Конструктор с параметрами /// </summary> /// <param name="Holder">Клиент</param> /// <param name="Amount">Сумма</param> /// <param name="Month">Срок в месяцах</param> public CreditModel(AClient Holder, decimal Amount, int Month) : base(Holder, Amount, Month) { Payment = Amount / Month; }