File tree 3 files changed +6
-0
lines changed
src/main/java/ubc/pavlab/rdp/model
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
package ubc .pavlab .rdp .model ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnore ;
4
+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
5
import com .fasterxml .jackson .annotation .JsonUnwrapped ;
5
6
import lombok .*;
6
7
import org .hibernate .annotations .CacheConcurrencyStrategy ;
26
27
@ NoArgsConstructor
27
28
@ EqualsAndHashCode (of = {"id" })
28
29
@ ToString ( of = {"id" , "email" , "enabled" })
30
+ @ JsonIgnoreProperties (ignoreUnknown = true )
29
31
public class User {
30
32
31
33
@ Id
Original file line number Diff line number Diff line change 1
1
package ubc .pavlab .rdp .model ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnore ;
4
+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
5
import lombok .Getter ;
5
6
import lombok .NoArgsConstructor ;
6
7
import lombok .Setter ;
25
26
@ Setter
26
27
@ NoArgsConstructor
27
28
@ ToString (callSuper = true )
29
+ @ JsonIgnoreProperties (ignoreUnknown = true )
28
30
public class UserGene extends Gene {
29
31
30
32
@ Id
Original file line number Diff line number Diff line change 1
1
package ubc .pavlab .rdp .model ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnore ;
4
+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
5
import lombok .Getter ;
5
6
import lombok .NoArgsConstructor ;
6
7
import lombok .Setter ;
23
24
@ Getter
24
25
@ Setter
25
26
@ NoArgsConstructor
27
+ @ JsonIgnoreProperties (ignoreUnknown = true )
26
28
public class UserTerm extends GeneOntologyTerm {
27
29
28
30
@ Id
You can’t perform that action at this time.
0 commit comments