Last change
on this file since 7987457 was e6ff724, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
517 bytes
|
Rev | Line | |
---|
[e6ff724] | 1 | package it.finki.tinki.model.Jobs;
|
---|
| 2 |
|
---|
| 3 | import it.finki.tinki.model.Skill;
|
---|
| 4 | import it.finki.tinki.model.Users.Account;
|
---|
| 5 | import lombok.Data;
|
---|
| 6 |
|
---|
| 7 | import javax.persistence.*;
|
---|
| 8 | import java.util.List;
|
---|
| 9 |
|
---|
| 10 | @Entity
|
---|
| 11 | @Data
|
---|
| 12 | public class Job extends Work {
|
---|
| 13 |
|
---|
| 14 | @ManyToMany
|
---|
| 15 | List<Skill> skillsRequired;
|
---|
| 16 |
|
---|
| 17 | public Job(){}
|
---|
| 18 |
|
---|
| 19 | public Job(String title, String description, Account account, int salary, List<Skill> skillsRequired) {
|
---|
| 20 | super(title, description, account, salary);
|
---|
| 21 | this.skillsRequired = skillsRequired;
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.