add votes to article
This commit is contained in:
@@ -19,6 +19,9 @@ class Article(
|
||||
EntityCreatedAt by EntityCreatedAtImp(),
|
||||
EntityCreatedBy<Citizen> by EntityCreatedByImp(createdBy),
|
||||
EntityDeletedAt by EntityDeletedAtImp() {
|
||||
|
||||
val votes = VoteAggregation(0,0,0)
|
||||
|
||||
init {
|
||||
tags = tags.distinct()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user