refactor: \@AdminOnly의 기본 타입을 STORE -> ALL로 수정 및 필드 오타 수정

This commit is contained in:
이상진 2025-09-17 10:42:24 +09:00
parent 7fd278aa43
commit 7c967defcc
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import roomescape.admin.infrastructure.persistence.Privilege
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class AdminOnly(
val type: AdminType = AdminType.STORE,
val type: AdminType = AdminType.ALL,
val privilege: Privilege
)

View File

@ -17,6 +17,6 @@ data class OperatorInfo(
data class AuditInfo(
val createdAt: LocalDateTime,
val createdBy: OperatorInfo,
val modifiedAt: LocalDateTime,
val modifiedBy: OperatorInfo,
val updatedAt: LocalDateTime,
val updatedBy: OperatorInfo,
)