This is a work around ``` class User{ @field:...
# announcements
j
This is a work around
Copy code
class User{
    @field:NotEmpty
    val email: String
    @field:NotEmpty
    val password: String

    constructor(email: String?, password: String?) {
        this.email = email ?: ""
        this.password = password ?: ""
    }
}