parent
6ff925443d
commit
ec45e4c6f5
@ -0,0 +1,9 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.Distribution;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface DistributionRepository extends JpaRepository<Distribution, String> {
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.Employee;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface EmployeeRepository extends JpaRepository<Employee, String> {
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.LoginLog;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface LoginLogRepository extends JpaRepository<LoginLog,String> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.SystemLog;
|
||||||
|
import org.springframework.data.jpa.domain.Specification;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
|
import org.springframework.data.jpa.repository.Query;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface SystemLogRepository extends JpaRepository<SystemLog,String>, JpaSpecificationExecutor<SystemLog> {
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.User;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface UserRepository extends JpaRepository<User, String> {
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.example.api.repository;
|
||||||
|
|
||||||
|
import com.example.api.model.entity.Warehouse;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface WareHouseRepository extends JpaRepository<Warehouse, String> {
|
||||||
|
}
|
Loading…
Reference in new issue