public Transaction( Guid accountId, decimal amount, Enums.OperationType operationType) { AccountId = accountId; Amount = amount; OperationType = operationType; }
public Operation(IOperable firstNumber, Enums.OperationType type, IOperable secondNumber) { Type = type; FirstNumber = firstNumber; SecondNumber = secondNumber; }
/// <summary> /// Конструктор /// </summary> /// <param name="supply">поставка</param> /// <param name="operationType">тип операции</param> public NotificationQueue(Models.DB.Supply supply, Enums.OperationType operationType) { this.Supply = supply; this.OperationType = operationType; this.Date = DateTimeOffset.Now; }