chb0kotlin
02/09/2018, 6:14 AM@Entity
data class Form(@Id @GeneratedValue override var id: Long? = null,
override var date: Date? = null,
override var name:String? = null) : Post
Then, it's good. Except, I now have setterskingsley
02/12/2018, 7:50 PM@Entity
Then you’d be able to use val
like you would normally, also with the advantage of avoiding unnecessary `null`s
@Entity
data class Form(
@Id @GeneratedValue override val id: Long,
override val date: Date,
override val name: String
): Post