Last change
on this file since 504c3ef was e6ff724, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
605 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 Internship extends Work {
|
---|
| 13 |
|
---|
| 14 | @ManyToMany
|
---|
| 15 | List<Skill> skillsTrained;
|
---|
| 16 |
|
---|
| 17 | int openSpots;
|
---|
| 18 |
|
---|
| 19 | public Internship(){}
|
---|
| 20 |
|
---|
| 21 | public Internship(String title, String description, Account account, int salary, List<Skill> skillsTrained, int openSpots) {
|
---|
| 22 | super(title, description, account, salary);
|
---|
| 23 | this.skillsTrained = skillsTrained;
|
---|
| 24 | this.openSpots = openSpots;
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.