Skip to content

Commit

Permalink
refactor: (#286) of method 위치
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Jan 13, 2023
1 parent e36c2db commit 527c46b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ data class User(
) {

companion object {

@JvmField
val DEFAULT_IMAGE = getProperty(DomainPropertiesPrefix.USER_DEFAULT_IMAGE)

fun of(
id: UUID = UUID(0, 0),
nickname: String,
Expand All @@ -67,9 +71,6 @@ data class User(
profileImagePath = profileImagePath,
deletedAt = deletedAt
)

@JvmField
val DEFAULT_IMAGE = getProperty(DomainPropertiesPrefix.USER_DEFAULT_IMAGE)
}

fun checkAuthority(authority: Authority) {
Expand Down

0 comments on commit 527c46b

Please sign in to comment.