Changeset 74b8c52 for springapp/src/main
- Timestamp:
- 07/31/22 22:17:18 (2 years ago)
- Branches:
- main
- Children:
- d654c74
- Parents:
- a4b5062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
springapp/src/main/java/mk/profesori/springapp/Model/Faculty.java
ra4b5062 r74b8c52 15 15 16 16 import com.fasterxml.jackson.annotation.JsonIdentityInfo; 17 import com. fasterxml.jackson.annotation.ObjectIdGenerators;17 import com.voodoodyne.jackson.jsog.JSOGGenerator; 18 18 19 19 @Entity 20 20 @Table(name = "faculty") 21 @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "facultyId")21 @JsonIdentityInfo(generator = JSOGGenerator.class) 22 22 public class Faculty { 23 23
Note:
See TracChangeset
for help on using the changeset viewer.