Package-level declarations

Types

Link copied to clipboard
@Entity
@SoftDelete(columnName = "is_deleted")
class User(val id: Long = 0, var email: String, var name: String, var phone: String, var profileImage: String? = null, var password: String, var roles: MutableSet<UserRole> = mutableSetOf(UserRole.USER), var createdAt: Instant = Instant.now(), var updatedAt: Instant = Instant.now()) : AbstractAggregateRoot<User>

유저 엔티티

Link copied to clipboard
@Repository
interface UserRepository : JpaRepository<User, Long>

사용자 레포지토리

Link copied to clipboard
enum UserRole : Enum<UserRole> , GrantedAuthority

The roles that a user can have.