dev.krud.crudframework.test.AbstractTestEntity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crud-framework-test Show documentation
Show all versions of crud-framework-test Show documentation
Spring-powered Crud Framework
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