feature #14: create route for follow article

This commit is contained in:
2019-08-14 18:44:07 +02:00
parent c1f228e3c5
commit 7dffc005b9
9 changed files with 198 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
package fr.dcproject.entity
import fr.postgresjson.entity.EntityI
import java.util.*
class Follow <T: EntityI<UUID>> (
id: UUID = UUID.randomUUID(),
citizen: Citizen,
override var target: T
): Extra<T>(id, citizen)
typealias FollowArticleEntity = Follow<Article>