Skip to content

Commit

Permalink
refactor(mumu): 规范包名
Browse files Browse the repository at this point in the history
  • Loading branch information
conifercone committed Mar 7, 2025
1 parent ed89dda commit 1e6af86
Show file tree
Hide file tree
Showing 41 changed files with 93 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@
import baby.mumu.authentication.domain.account.AccountAddress;
import baby.mumu.authentication.domain.account.AccountSystemSettings;
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.cache.po.AccountRedisPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.AccountArchivedRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.AccountRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.po.AccountArchivedPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.po.AccountPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.AccountAddressMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.AccountSystemSettingsMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountSystemSettingsMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.redis.po.AccountRedisPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.AccountAddressMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.AccountSystemSettingsMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountSystemSettingsMongodbPO;
import baby.mumu.authentication.infrastructure.relations.cache.AccountRoleRedisPO;
import baby.mumu.authentication.infrastructure.relations.cache.AccountRoleRedisRepository;
import baby.mumu.authentication.infrastructure.relations.database.AccountRolePO;
import baby.mumu.authentication.infrastructure.relations.database.AccountRolePOId;
import baby.mumu.authentication.infrastructure.relations.database.AccountRoleRepository;
import baby.mumu.authentication.infrastructure.relations.database.RolePathPO;
import baby.mumu.authentication.infrastructure.relations.database.RolePathPOId;
import baby.mumu.authentication.infrastructure.relations.database.RolePathRepository;
import baby.mumu.authentication.infrastructure.relations.redis.AccountRoleRedisPO;
import baby.mumu.authentication.infrastructure.relations.redis.AccountRoleRedisRepository;
import baby.mumu.authentication.infrastructure.role.convertor.RoleConvertor;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.RoleRedisRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.po.RoleRedisPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.RoleRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.RoleRedisRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.po.RoleRedisPO;
import baby.mumu.basis.enums.DigitalPreferenceEnum;
import baby.mumu.basis.exception.MuMuException;
import baby.mumu.basis.kotlin.tools.PhoneUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
import baby.mumu.authentication.domain.account.Account;
import baby.mumu.authentication.domain.account.AccountAddress;
import baby.mumu.authentication.domain.account.AccountSystemSettings;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.cache.po.AccountRedisPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.po.AccountArchivedPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.po.AccountPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountSystemSettingsMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.redis.po.AccountRedisPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountSystemSettingsMongodbPO;
import baby.mumu.basis.mappers.BaseMapper;
import baby.mumu.basis.mappers.DataTransferObjectMapper;
import baby.mumu.basis.mappers.GeoGrpcMapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
import baby.mumu.authentication.domain.account.gateway.AccountGateway;
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.infrastructure.account.convertor.AccountConvertor;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.cache.AccountRedisRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.AccountArchivedRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.AccountRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.database.po.AccountPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.AccountAddressMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.AccountSystemSettingsMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.redis.AccountRedisRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.AccountAddressMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.AccountSystemSettingsMongodbRepository;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.relations.cache.AccountRoleRedisRepository;
import baby.mumu.authentication.infrastructure.relations.database.AccountRoleRepository;
import baby.mumu.authentication.infrastructure.relations.redis.AccountRoleRedisRepository;
import baby.mumu.authentication.infrastructure.token.gatewayimpl.redis.OidcIdTokenRepository;
import baby.mumu.authentication.infrastructure.token.gatewayimpl.redis.PasswordTokenRepository;
import baby.mumu.authentication.infrastructure.token.gatewayimpl.cache.OidcIdTokenRepository;
import baby.mumu.authentication.infrastructure.token.gatewayimpl.cache.PasswordTokenRepository;
import baby.mumu.basis.annotations.DangerousOperation;
import baby.mumu.basis.event.OfflineSuccessEvent;
import baby.mumu.basis.exception.AccountAlreadyExistsException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.redis;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.cache;

import baby.mumu.authentication.infrastructure.account.gatewayimpl.redis.po.AccountRedisPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.cache.po.AccountRedisPO;
import com.redis.om.spring.repository.RedisDocumentRepository;
import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.redis.po;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.cache.po;

import baby.mumu.basis.enums.CacheLevelEnum;
import baby.mumu.basis.enums.DigitalPreferenceEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.document;

import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountAddressMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountAddressMongodbPO;
import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.document;

import baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po.AccountSystemSettingsMongodbPO;
import baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po.AccountSystemSettingsMongodbPO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po;

import baby.mumu.basis.annotations.Metamodel;
import baby.mumu.basis.po.jpa.JpaMongodbBasisDefaultPersistentObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.account.gatewayimpl.mongodb.po;
package baby.mumu.authentication.infrastructure.account.gatewayimpl.document.po;

import baby.mumu.basis.annotations.Metamodel;
import baby.mumu.basis.enums.SystemThemeEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
import baby.mumu.authentication.client.dto.PermissionFindRootDTO;
import baby.mumu.authentication.client.dto.PermissionIncludePathDownloadAllDTO;
import baby.mumu.authentication.domain.permission.Permission;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.PermissionArchivedRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.PermissionRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionArchivedPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPO;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathRepository;
import baby.mumu.basis.exception.MuMuException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
import baby.mumu.authentication.client.dto.PermissionIncludePathDownloadAllDTO;
import baby.mumu.authentication.client.dto.PermissionIncludePathDownloadAllDTO.PermissionIncludePathDTO;
import baby.mumu.authentication.domain.permission.Permission;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionArchivedPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPOId;
import baby.mumu.basis.mappers.DataTransferObjectMapper;
import baby.mumu.basis.mappers.GrpcMapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.domain.role.gateway.RoleGateway;
import baby.mumu.authentication.infrastructure.permission.convertor.PermissionConvertor;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.PermissionRedisRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.PermissionArchivedRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.PermissionRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionArchivedPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.po.PermissionPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.PermissionRedisRepository;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPO;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPOId;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis;
package baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache;

import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.po.PermissionRedisPO;
import com.redis.om.spring.repository.RedisDocumentRepository;
import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.po;
package baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.po;

import baby.mumu.basis.enums.CacheLevelEnum;
import baby.mumu.basis.po.jpa.JpaRedisBasisArchivablePersistentObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.relations.redis;
package baby.mumu.authentication.infrastructure.relations.cache;

import baby.mumu.basis.enums.CacheLevelEnum;
import baby.mumu.basis.po.jpa.JpaRedisBasisDefaultPersistentObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.relations.redis;
package baby.mumu.authentication.infrastructure.relations.cache;

import com.redis.om.spring.repository.RedisDocumentRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.relations.redis;
package baby.mumu.authentication.infrastructure.relations.cache;

import baby.mumu.basis.enums.CacheLevelEnum;
import baby.mumu.basis.po.jpa.JpaRedisBasisDefaultPersistentObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.relations.redis;
package baby.mumu.authentication.infrastructure.relations.cache;

import com.redis.om.spring.repository.RedisDocumentRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@
import baby.mumu.authentication.domain.permission.Permission;
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.infrastructure.permission.convertor.PermissionConvertor;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.PermissionRedisRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.cache.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.database.PermissionRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.PermissionRedisRepository;
import baby.mumu.authentication.infrastructure.permission.gatewayimpl.redis.po.PermissionRedisPO;
import baby.mumu.authentication.infrastructure.relations.cache.RolePermissionRedisPO;
import baby.mumu.authentication.infrastructure.relations.cache.RolePermissionRedisRepository;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPO;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathPOId;
import baby.mumu.authentication.infrastructure.relations.database.PermissionPathRepository;
import baby.mumu.authentication.infrastructure.relations.database.RolePathRepository;
import baby.mumu.authentication.infrastructure.relations.database.RolePermissionPO;
import baby.mumu.authentication.infrastructure.relations.database.RolePermissionPOId;
import baby.mumu.authentication.infrastructure.relations.database.RolePermissionRepository;
import baby.mumu.authentication.infrastructure.relations.redis.RolePermissionRedisPO;
import baby.mumu.authentication.infrastructure.relations.redis.RolePermissionRedisRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.po.RoleRedisPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.RoleArchivedRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.RoleRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RoleArchivedPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RolePO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.po.RoleRedisPO;
import baby.mumu.basis.exception.MuMuException;
import baby.mumu.basis.response.ResponseCode;
import baby.mumu.extension.translation.SimpleTextTranslation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
import baby.mumu.authentication.client.dto.RoleFindDirectDTO;
import baby.mumu.authentication.client.dto.RoleFindRootDTO;
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.po.RoleRedisPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RoleArchivedPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RolePO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.po.RoleRedisPO;
import baby.mumu.basis.mappers.DataTransferObjectMapper;
import baby.mumu.basis.mappers.GrpcMapper;
import org.apiguardian.api.API;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
import baby.mumu.authentication.domain.permission.Permission;
import baby.mumu.authentication.domain.role.Role;
import baby.mumu.authentication.domain.role.gateway.RoleGateway;
import baby.mumu.authentication.infrastructure.relations.cache.RolePermissionRedisRepository;
import baby.mumu.authentication.infrastructure.relations.database.RolePathPO;
import baby.mumu.authentication.infrastructure.relations.database.RolePathPOId;
import baby.mumu.authentication.infrastructure.relations.database.RolePathRepository;
import baby.mumu.authentication.infrastructure.relations.database.RolePermissionPO;
import baby.mumu.authentication.infrastructure.relations.database.RolePermissionRepository;
import baby.mumu.authentication.infrastructure.relations.redis.RolePermissionRedisRepository;
import baby.mumu.authentication.infrastructure.role.convertor.RoleConvertor;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.RoleRedisRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.RoleArchivedRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.RoleRepository;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RoleArchivedPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.database.po.RolePO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.RoleRedisRepository;
import baby.mumu.basis.annotations.DangerousOperation;
import baby.mumu.basis.exception.MuMuException;
import baby.mumu.basis.response.ResponseCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package baby.mumu.authentication.infrastructure.role.gatewayimpl.redis;
package baby.mumu.authentication.infrastructure.role.gatewayimpl.cache;

import baby.mumu.authentication.infrastructure.role.gatewayimpl.redis.po.RoleRedisPO;
import baby.mumu.authentication.infrastructure.role.gatewayimpl.cache.po.RoleRedisPO;
import com.redis.om.spring.repository.RedisDocumentRepository;
import java.util.List;
import java.util.Optional;
Expand Down
Loading

0 comments on commit 1e6af86

Please sign in to comment.