#68 Clean follow Entity

This commit is contained in:
2021-03-01 22:44:17 +01:00
parent 66dcff8f46
commit 8d93fc8b3c
11 changed files with 78 additions and 53 deletions

View File

@@ -27,6 +27,15 @@ open class User(
CreatedAt by CreatedAt.Imp(),
UpdatedAt by UpdatedAt.Imp()
class UserCreator(
id: UUID = UUID.randomUUID(),
override val username: String,
) : UserRef(id), UserWithUsername
interface UserWithUsername {
val username: String
}
interface UserWithPasswordI {
val id: UUID
val password: String