Changes in / [d654c74:0df6b9e]


Ignore:
File:
1 edited

Legend:

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

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