Add Opinion entity and add opinions on article

This commit is contained in:
2020-02-08 01:03:16 +01:00
parent f622dbeecd
commit 7742287884
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package fr.dcproject.entity
interface Opinionable {
val opinions: MutableMap<String, Int>
}
class OpinionableImp : Opinionable {
override val opinions: MutableMap<String, Int> = mutableMapOf()
}