correction creation user par defaut
All checks were successful
CI - Build & Test (develop) / build-and-test (pull_request) Successful in 25s
All checks were successful
CI - Build & Test (develop) / build-and-test (pull_request) Successful in 25s
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package io.gmss.fiscad.entities.infocad.metier;
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
@@ -62,14 +63,23 @@ public class ParcelleGeom extends BaseEntity implements Serializable {
|
||||
@Enumerated(EnumType.STRING)
|
||||
private StatutParcelle statutParcelle;
|
||||
private Long uploadId;
|
||||
@ManyToOne
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JsonBackReference
|
||||
private Departement departement;
|
||||
@ManyToOne
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JsonBackReference
|
||||
private Commune commune;
|
||||
@ManyToOne
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JsonBackReference
|
||||
private Arrondissement arrondissement;
|
||||
@ManyToOne
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JsonBackReference
|
||||
private Quartier quartier ;
|
||||
|
||||
@ColumnDefault("0")
|
||||
private int geomSrid;
|
||||
@JsonSerialize(using = GeometrySerializer.class)
|
||||
|
||||
@@ -51,6 +51,7 @@ public class Piece extends BaseEntity implements Serializable {
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
private Personne personne;
|
||||
private Long personneExternalKey;
|
||||
|
||||
@JsonIgnore
|
||||
@JsonBackReference
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
||||
Reference in New Issue
Block a user