Ignore:
Timestamp:
07/31/22 15:49:11 (2 years ago)
Author:
unknown <mlviktor23@…>
Branches:
main
Children:
0ae838b
Parents:
ad40ec0
Message:

now using jsog for Professor model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • springapp/src/main/java/mk/profesori/springapp/Model/Professor.java

    rad40ec0 ra6dcc46  
    1515
    1616import com.fasterxml.jackson.annotation.JsonIdentityInfo;
    17 import com.fasterxml.jackson.annotation.ObjectIdGenerators;
     17import com.voodoodyne.jackson.jsog.JSOGGenerator;
    1818
    1919@Entity
    2020@Table(name = "professor")
    21 @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "professorId")
     21@JsonIdentityInfo(generator = JSOGGenerator.class)
    2222public class Professor {
    2323
Note: See TracChangeset for help on using the changeset viewer.