Refactor: Move bcrypt inside kodein module for easier testing
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
package be.vandewalleh.entities
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import me.liuwj.ktorm.entity.*
|
||||
|
||||
interface User : Entity<User> {
|
||||
companion object : Entity.Factory<User>()
|
||||
|
||||
@get:JsonIgnore
|
||||
val id: Int
|
||||
|
||||
var username: String
|
||||
|
||||
@get:JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
|
||||
Reference in New Issue
Block a user