16 lines
353 B
Kotlin
16 lines
353 B
Kotlin
package model
|
|
|
|
import java.time.LocalDate
|
|
import javax.crypto.SecretKey
|
|
|
|
class DefaultUser(
|
|
userId: Int,
|
|
login: String,
|
|
password: SecretKey,
|
|
email: String,
|
|
phone: String,
|
|
lastAuthorizeDate: LocalDate
|
|
) : User(userId, login, password,email, phone, lastAuthorizeDate) {
|
|
override val role: String = "пользователь"
|
|
}
|