All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.krud.crudframework.test.AbstractTestEntity.kt Maven / Gradle / Ivy

There is a newer version: 1.9.4
Show newest version
package dev.krud.crudframework.test

import dev.krud.crudframework.crud.annotation.CrudEntity
import dev.krud.crudframework.model.BaseCrudEntity
import dev.krud.shapeshift.resolver.annotation.MappedField

@CrudEntity(dao = TestCrudDaoImpl::class)
abstract class AbstractTestEntity(@MappedField(target = AbstractTestRO::class) override var id: Long) : BaseCrudEntity() {
    override fun exists(): Boolean {
        return id != 0L
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy