protected static function baseQuery($userId, $contactId) { return static::find()->between($userId, $contactId)->orderBy(['id' => SORT_DESC]); }