Move constitution to component
This commit is contained in:
13
src/main/kotlin/component/views/entity/ViewAggregation.kt
Normal file
13
src/main/kotlin/component/views/entity/ViewAggregation.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package fr.dcproject.component.views.entity
|
||||
|
||||
import fr.postgresjson.entity.EntityI
|
||||
import fr.postgresjson.entity.EntityUpdatedAt
|
||||
import fr.postgresjson.entity.EntityUpdatedAtImp
|
||||
|
||||
class ViewAggregation(
|
||||
val total: Int,
|
||||
val unique: Int
|
||||
) : EntityI,
|
||||
EntityUpdatedAt by EntityUpdatedAtImp() {
|
||||
constructor() : this(0, 0)
|
||||
}
|
||||
Reference in New Issue
Block a user