Changeset a6dcc46 for springapp/src/main/java/mk
- Timestamp:
- 07/31/22 15:49:11 (2 years ago)
- Branches:
- main
- Children:
- 0ae838b
- Parents:
- ad40ec0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
springapp/src/main/java/mk/profesori/springapp/Model/Professor.java
rad40ec0 ra6dcc46 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 = "professor") 21 @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "professorId")21 @JsonIdentityInfo(generator = JSOGGenerator.class) 22 22 public class Professor { 23 23
Note:
See TracChangeset
for help on using the changeset viewer.