Last change
on this file since 19ad843 was 336d09e, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
cleanup
|
-
Property mode
set to
100644
|
File size:
486 bytes
|
Line | |
---|
1 | package it.finki.tinki.model;
|
---|
2 |
|
---|
3 | import it.finki.tinki.model.enumerator.WorkType;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | import javax.persistence.*;
|
---|
7 |
|
---|
8 | @Entity
|
---|
9 | @Data
|
---|
10 | public class Match {
|
---|
11 |
|
---|
12 | @Id
|
---|
13 | EmbeddedMatchId embeddedMatchId;
|
---|
14 |
|
---|
15 | float coefficient;
|
---|
16 |
|
---|
17 | WorkType type;
|
---|
18 |
|
---|
19 | public Match(){}
|
---|
20 |
|
---|
21 | public Match(EmbeddedMatchId embeddedMatchId, float coefficient, WorkType type) {
|
---|
22 | this.embeddedMatchId = embeddedMatchId;
|
---|
23 | this.coefficient = coefficient;
|
---|
24 | this.type = type;
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.