diff --git a/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt b/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt index 47c2247..b83dce7 100644 --- a/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt +++ b/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt @@ -138,7 +138,7 @@ data class EmployeeGroup( val permissions: MutableSet = mutableSetOf(), @OneToMany(mappedBy = "group") - @JsonIgnore + @field:JsonIgnore val employees: MutableSet = mutableSetOf() ) : NamedModel { @JsonProperty("employeeCount")