remove EntityI.className && RepositoryI.entityName
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
package fr.postgresjson.repository
|
||||
|
||||
import fr.postgresjson.connexion.Requester
|
||||
import fr.postgresjson.entity.EntityI
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
interface RepositoryI<E: EntityI> {
|
||||
val entityName: KClass<E>
|
||||
interface RepositoryI {
|
||||
var requester: Requester
|
||||
fun getClassName(): String {
|
||||
return entityName.simpleName!!
|
||||
}
|
||||
|
||||
enum class Direction {
|
||||
asc,
|
||||
|
||||
Reference in New Issue
Block a user