improve target reference Improve Tests for Opinion fix SQL:upsert_opinion
15 lines
390 B
Kotlin
15 lines
390 B
Kotlin
package fr.dcproject.entity
|
|
|
|
import fr.postgresjson.entity.EntityI
|
|
|
|
class OpinionAggregation(
|
|
private val underlying: MutableMap<String, Any> = mutableMapOf()
|
|
) : MutableMap<String, Any> by underlying, EntityI
|
|
|
|
interface Opinionable {
|
|
var opinions: MutableMap<String, Int>
|
|
}
|
|
|
|
class OpinionableImp : Opinionable {
|
|
override var opinions: MutableMap<String, Int> = mutableMapOf()
|
|
} |