public DeptModel(decimal amount, decimal capital, decimal interest, decimal interestPenalty, InterestPenaltyType typePenalty, decimal feesAndCommissions) { Amount = amount; Capital = capital; Interest = interest; InterestPenalty = interestPenalty; TypePenalty = typePenalty; FeesAndCommissions = feesAndCommissions; DateLastUpdateInterestPenalty = DateTime.Now; }
public void SetDetails(decimal interest, decimal interestPenalty, InterestPenaltyType typePenalty) { Interest = interest; InterestPenalty = interestPenalty; TypePenalty = typePenalty; }