where('note_user_id', $noteUserId) ->where('status', 1) ->order('id', 'desc') ->find(); } public static function findByToken(string $token): ?self { return self::where('share_token', $token) ->where('status', 1) ->find(); } }