Skip to content

Commit 62f6013

Browse files
authored
Merge pull request #28 from ReLive27/main
feat(repository): initialize repository module with MyBatis support.
2 parents 814a541 + bc2eaa0 commit 62f6013

41 files changed

Lines changed: 359 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

repository/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ jar {
66

77
dependencies {
88
compileOnly project(':simpleauth0-security')
9+
compileOnly project(':simpleauth0-audit')
910
implementation project(':simpleauth0-core')
1011
implementation libraries.springBootStarterWeb
1112
implementation libraries.springBootStarterSecurity
1213
implementation libraries.mybatisPlus
14+
implementation libraries.reactor
1315
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:10
8+
*/
9+
@Repository
10+
public class ApplicationMetadataRepository {
11+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import io.github.simpleauth0.repository.dao.ApplicationMapper;
4+
import lombok.RequiredArgsConstructor;
5+
import org.springframework.stereotype.Repository;
6+
7+
/**
8+
* @author: ReLive27
9+
* @date: 2025/11/8 23:08
10+
*/
11+
@Repository
12+
@RequiredArgsConstructor
13+
public class ApplicationRepository {
14+
private final ApplicationMapper applicationMapper;
15+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:10
8+
*/
9+
@Repository
10+
public class GroupRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:10
8+
*/
9+
@Repository
10+
public class LogRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:11
8+
*/
9+
@Repository
10+
public class OAuth2AuthorizationConsentRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:11
8+
*/
9+
@Repository
10+
public class OAuth2AuthorizationRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:12
8+
*/
9+
@Repository
10+
public class OAuth2RegisteredClientRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:11
8+
*/
9+
@Repository
10+
public class PermissionRepository {
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.github.simpleauth0.repository;
2+
3+
import org.springframework.stereotype.Repository;
4+
5+
/**
6+
* @author: ReLive27
7+
* @date: 2025/11/8 23:12
8+
*/
9+
@Repository
10+
public class RoleRepository {
11+
}

0 commit comments

Comments
 (0)