Improve Vote Comment
Add "targetReference" field into Extra Entity Add VoteCommentRoute to OpenApi
This commit is contained in:
@@ -6,12 +6,12 @@ import java.util.*
|
||||
open class Comment <T: UuidEntity> (
|
||||
id: UUID = UUID.randomUUID(),
|
||||
createdBy: Citizen,
|
||||
override var target: T,
|
||||
target: T,
|
||||
var content: String,
|
||||
var responses: List<Comment<T>>? = null,
|
||||
var parent: Comment<T>? = null,
|
||||
var parentsIds: List<UUID>? = null,
|
||||
val childrenCount: Int? = null
|
||||
): Extra<T>(id, createdBy),
|
||||
): Extra<T>(id, createdBy, target),
|
||||
EntityUpdatedAt by EntityUpdatedAtImp(),
|
||||
EntityDeletedAt by EntityDeletedAtImp()
|
||||
|
||||
Reference in New Issue
Block a user