Kotline/src/main/kotlin/model/User.kt

13 lines
302 B
Kotlin
Raw Normal View History

2025-01-14 12:43:19 +00:00
package model
import java.time.LocalDate
import javax.crypto.SecretKey
open class User(
val userId: Int,
val login: String,
var password: SecretKey?,
var email: String,
var phone: String,
var lastAuthorizeDate: LocalDate
) { open val role: String = "пользователь"}