source: src/main/java/it/finki/tinki/model/Match.java@ 509cb95

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

finalized register and login and added insert options for jobs

  • Property mode set to 100644
File size: 476 bytes
RevLine 
[e6ff724]1package it.finki.tinki.model;
2
[723994f]3import it.finki.tinki.model.enumerator.WorkType;
[e6ff724]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
[723994f]17 WorkType type;
18
[e6ff724]19 public Match(){}
20
[509cb95]21 public Match(EmbeddedMatchId embeddedMatchId, float coefficient, WorkType type) {
22 this.combinedId = embeddedMatchId;
[e6ff724]23 this.coefficient = coefficient;
[723994f]24 this.type = type;
[e6ff724]25 }
26}
Note: See TracBrowser for help on using the repository browser.