Last change
on this file since 3f5bf9e was e6ff724, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
290 bytes
|
Rev | Line | |
---|
[e6ff724] | 1 | package it.finki.tinki.model;
|
---|
| 2 |
|
---|
| 3 | import lombok.Data;
|
---|
| 4 |
|
---|
| 5 | import javax.persistence.*;
|
---|
| 6 |
|
---|
| 7 | @Entity
|
---|
| 8 | @Data
|
---|
| 9 | public class Match {
|
---|
| 10 |
|
---|
| 11 | @Id
|
---|
| 12 | EmbeddedMatchId combinedId;
|
---|
| 13 |
|
---|
| 14 | float coefficient;
|
---|
| 15 |
|
---|
| 16 | public Match(){}
|
---|
| 17 |
|
---|
| 18 | public Match(float coefficient) {
|
---|
| 19 | this.coefficient = coefficient;
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.