Changeset 74b8c52 for springapp/src


Ignore:
Timestamp:
07/31/22 22:17:18 (2 years ago)
Author:
unknown <mlviktor23@…>
Branches:
main
Children:
d654c74
Parents:
a4b5062
Message:

use jsog for Faculty model

File:
1 edited

Legend:

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

    ra4b5062 r74b8c52  
    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 = "faculty")
    21 @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "facultyId")
     21@JsonIdentityInfo(generator = JSOGGenerator.class)
    2222public class Faculty {
    2323
Note: See TracChangeset for help on using the changeset viewer.