public OperationTotal(string desc, OperationValue operationValue, DateTime from, DateTime to)
 {
     this.Description = desc;
     this.Total       = operationValue;
     this.From        = from;
     this.To          = to;
 }
        public Operation(int id, DateTime date, string desc, OperationValue operation, OperationValue currentBalance, OperationEntity autoEntity,
                         string notes = "", bool exception = false, OperationEntity forcedEntity = null, OperationType forcedType = null)
            : this()
        {
            this.ID             = id;
            this.Date           = date;
            this.Description    = desc;
            this.OperationMove  = operation;
            this.CurrentBalance = currentBalance;
            this.AutoEntity     = autoEntity;

            this.notes        = notes;
            this.exception    = exception;
            this.forcedEntity = forcedEntity;
            this.forcedType   = forcedType;
        }