Advertisement
kieni17

Untitled

Mar 24th, 2020
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. @Entity
  2. @Table(name = T_ORGANIZATION)
  3. public class Organization implements IOrganization {
  4.  
  5.  
  6.     @Column(name = M_ORGANIZATION_EMPLOYMENTS)
  7.     @OneToMany(targetEntity = Employment.class)
  8.     @JoinTable(name = J_ORGANIZATION_EMPLOYMENT)
  9.     private Collection<IEmployment> employments;
  10.  
  11.  
  12. ..
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement