Don't open ThingRecord

pull/716/head
Quentin Hibon 5 years ago
parent 21fa636e0c
commit 7644f52dfd

@ -5,18 +5,18 @@ import org.apache.commons.lang3.builder.HashCodeBuilder
import org.apache.commons.lang3.builder.ToStringBuilder
@Table(name = "tests")
open class ThingRecord {
class ThingRecord {
@field:Column
open var id: Long? = null
var id: Long? = null
@field:Column
open var name: String? = null
var name: String? = null
@field:Column(name = "color_number")
open var color: Int? = null
var color: Int? = null
@field:Column
open var score: Double? = null
var score: Double? = null
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || javaClass != other.javaClass) return false

Loading…
Cancel
Save