source: src/main/java/it/finki/tinki/model/Match.java@ 723994f

Last change on this file since 723994f was 723994f, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

refactoring and further login functionality

  • Property mode set to 100644
File size: 400 bytes
Line 
1package it.finki.tinki.model;
2
3import it.finki.tinki.model.enumerator.WorkType;
4import lombok.Data;
5
6import javax.persistence.*;
7
8@Entity
9@Data
10public class Match {
11
12 @Id
13 EmbeddedMatchId combinedId;
14
15 float coefficient;
16
17 WorkType type;
18
19 public Match(){}
20
21 public Match(float coefficient, WorkType type) {
22 this.coefficient = coefficient;
23 this.type = type;
24 }
25}
Note: See TracBrowser for help on using the repository browser.