Beispiel #1
0
        public Fund(
            Identificator id,
            string name,
            string description,
            IEnumerable <Transaction> transactions) : base(id, name)
        {
            Description = description;

            Transactions = transactions;
        }
Beispiel #2
0
        public Transaction(
            Identificator id,
            string name,
            decimal plannedSum,
            decimal factSum,
            DateTime dateTime,
            TransactionType transactionType
            ) : base(id, name)
        {
            PlannedSum = plannedSum;

            FactSum = factSum;

            DateTime = dateTime;

            TransactionType = transactionType;
        }