public function trash($where = null, $multiple = false)
    {
        $whr = [];
        $ar = self::cyrus();
        /*
         | Trigger Before Delete events if
         | defined by user into model class
         |
         */
        $this->triggerEvent('beforeDelete');

        // Bind where conditions
        $this->bindWhereClause($where, $multiple, $ar);

        $sql = self::DELETE.
            ' FROM '.$this->quoteIdentifier($ar->getDatabase()).'.'.$this->quoteIdentifier($ar->getTableName())
            .$this->getWhere();

        try {
            /*
             | Get the Connection, prepare and execute sql query
             | return affected rows
             */
            $stmt = $this->resolveConnection()->prepare($sql);
            $this->bindParam($stmt); //bind parameters
            static::$queries[] = $stmt->queryString;
            $affectedRow = $stmt->execute();

            /*
             | Trigger after delete model events if defined
             */
            $this->triggerEvent('afterDelete');

            return $affectedRow;
        } catch (\PDOException  $ex) {
            throw new DatabaseException($ex->getMessage());
        }
    }