parent
61094539d3
commit
28a8f5c3b9
@ -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<Attractions, String>, JpaSpecificationExecutor<Attractions> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue