From 28a8f5c3b91db8876dc557997d4902b735af341a Mon Sep 17 00:00:00 2001 From: p96aetpbr <2691443110@qq.com> Date: Wed, 26 Jun 2024 08:19:54 +0800 Subject: [PATCH] Add AttractionsRepository --- AttractionsRepository | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 AttractionsRepository diff --git a/AttractionsRepository b/AttractionsRepository new file mode 100644 index 0000000..e2ed02a --- /dev/null +++ b/AttractionsRepository @@ -0,0 +1,11 @@ +package com.power.travel.repository; + +import com.power.travel.model.Attractions; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.JpaSpecificationExecutor; +import org.springframework.stereotype.Repository; +//这段代码定义了一个名为AttractionsRepository的Java接口 +@Repository +public interface AttractionsRepository extends JpaRepository, JpaSpecificationExecutor { + +} \ No newline at end of file