There is the following the table:
The entity has the following getters:
-
Java
@Id @Column(name = "message_id") public int getId() { };Kotlin
@Id @Column(name = "message_id") fun getId(): Int { } -
Java
public String getTitle() { };Kotlin
fun getTitle(): String? { } -
Java
public int getNumber() { };Kotlin
fun getNumber(): Int { } -
Java
public boolean isEncrypted() { };Kotlin
fun isEncrypted(): Boolean { }
Match table columns with the corresponding entity getters.