Last change
on this file since 83a5af4 was e6ff724, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
384 bytes
|
Rev | Line | |
---|
[e6ff724] | 1 | package it.finki.tinki.model;
|
---|
| 2 |
|
---|
| 3 | import it.finki.tinki.model.Jobs.Work;
|
---|
| 4 | import it.finki.tinki.model.Users.User;
|
---|
| 5 | import lombok.Data;
|
---|
| 6 |
|
---|
| 7 | import javax.persistence.Embeddable;
|
---|
| 8 | import javax.persistence.OneToOne;
|
---|
| 9 | import java.io.Serializable;
|
---|
| 10 |
|
---|
| 11 | @Embeddable
|
---|
| 12 | @Data
|
---|
| 13 | public class EmbeddedMatchId implements Serializable {
|
---|
| 14 |
|
---|
| 15 | @OneToOne
|
---|
| 16 | private Work work;
|
---|
| 17 |
|
---|
| 18 | @OneToOne
|
---|
| 19 | private User user;
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.