update postgresjson (mutable entity)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.mutable.*
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class Article(
|
class Article(
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.mutable.*
|
||||||
import org.joda.time.DateTime
|
import org.joda.time.DateTime
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.mutable.*
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
open class Comment <T : UuidEntity> (
|
open class Comment <T : UuidEntity> (
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.mutable.*
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class Constitution(
|
class Constitution(
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.EntityI
|
||||||
|
import fr.postgresjson.entity.mutable.*
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
interface ExtraI <T : EntityI> :
|
interface ExtraI <T : EntityI> :
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
import fr.postgresjson.entity.UuidEntity
|
import fr.postgresjson.entity.mutable.UuidEntity
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class Follow <T : UuidEntity> (
|
class Follow <T : UuidEntity> (
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.*
|
import fr.postgresjson.entity.mutable.*
|
||||||
import io.ktor.auth.Principal
|
import io.ktor.auth.Principal
|
||||||
import org.joda.time.DateTime
|
import org.joda.time.DateTime
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.EntityUpdatedAt
|
import fr.postgresjson.entity.mutable.EntityUpdatedAt
|
||||||
import fr.postgresjson.entity.EntityUpdatedAtImp
|
import fr.postgresjson.entity.mutable.EntityUpdatedAtImp
|
||||||
import fr.postgresjson.entity.UuidEntity
|
import fr.postgresjson.entity.mutable.UuidEntity
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
open class Vote <T : UuidEntity> (
|
open class Vote <T : UuidEntity> (
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package fr.dcproject.entity
|
package fr.dcproject.entity
|
||||||
|
|
||||||
import fr.postgresjson.entity.EntityI
|
import fr.postgresjson.entity.EntityI
|
||||||
import fr.postgresjson.entity.EntityUpdatedAt
|
import fr.postgresjson.entity.mutable.EntityUpdatedAt
|
||||||
import fr.postgresjson.entity.EntityUpdatedAtImp
|
import fr.postgresjson.entity.mutable.EntityUpdatedAtImp
|
||||||
|
|
||||||
open class VoteAggregation(
|
open class VoteAggregation(
|
||||||
val up: Int,
|
val up: Int,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package fr.dcproject.repository
|
|||||||
|
|
||||||
import fr.postgresjson.connexion.Paginated
|
import fr.postgresjson.connexion.Paginated
|
||||||
import fr.postgresjson.connexion.Requester
|
import fr.postgresjson.connexion.Requester
|
||||||
import fr.postgresjson.entity.UuidEntity
|
import fr.postgresjson.entity.mutable.UuidEntity
|
||||||
import fr.postgresjson.repository.RepositoryI
|
import fr.postgresjson.repository.RepositoryI
|
||||||
import java.util.*
|
import java.util.*
|
||||||
import fr.dcproject.entity.Article as ArticleEntity
|
import fr.dcproject.entity.Article as ArticleEntity
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package fr.dcproject.repository
|
|||||||
|
|
||||||
import fr.postgresjson.connexion.Paginated
|
import fr.postgresjson.connexion.Paginated
|
||||||
import fr.postgresjson.connexion.Requester
|
import fr.postgresjson.connexion.Requester
|
||||||
import fr.postgresjson.entity.UuidEntity
|
import fr.postgresjson.entity.mutable.UuidEntity
|
||||||
import fr.postgresjson.repository.RepositoryI
|
import fr.postgresjson.repository.RepositoryI
|
||||||
import java.util.*
|
import java.util.*
|
||||||
import fr.dcproject.entity.Article as ArticleEntity
|
import fr.dcproject.entity.Article as ArticleEntity
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import fr.dcproject.entity.Constitution
|
|||||||
import fr.dcproject.entity.VoteAggregation
|
import fr.dcproject.entity.VoteAggregation
|
||||||
import fr.postgresjson.connexion.Paginated
|
import fr.postgresjson.connexion.Paginated
|
||||||
import fr.postgresjson.connexion.Requester
|
import fr.postgresjson.connexion.Requester
|
||||||
import fr.postgresjson.entity.UuidEntity
|
import fr.postgresjson.entity.mutable.UuidEntity
|
||||||
import fr.postgresjson.repository.RepositoryI
|
import fr.postgresjson.repository.RepositoryI
|
||||||
import java.util.*
|
import java.util.*
|
||||||
import fr.dcproject.entity.Citizen as CitizenEntity
|
import fr.dcproject.entity.Citizen as CitizenEntity
|
||||||
|
|||||||
Reference in New Issue
Block a user