Changeset 336d09e for src/main/java/it/finki/tinki/model/Match.java
- Timestamp:
- 01/08/21 03:34:14 (3 years ago)
- Branches:
- master
- Children:
- 4b1c93d
- Parents:
- b31afbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/model/Match.java
rb31afbd r336d09e 1 1 package it.finki.tinki.model; 2 2 3 import com.sun.istack.NotNull;4 import it.finki.tinki.model.Jobs.Work;5 import it.finki.tinki.model.Users.User;6 3 import it.finki.tinki.model.enumerator.WorkType; 7 4 import lombok.Data; … … 12 9 @Data 13 10 public class Match { 14 15 // @Id16 // @GeneratedValue(strategy = GenerationType.AUTO)17 // Long id;18 //19 // @NotNull20 // Long workId;21 //22 // @NotNull23 // Long userId;24 11 25 12 @Id … … 32 19 public Match(){} 33 20 34 // public Match(Long workId, Long userId, float coefficient, WorkType type) {35 // this.workId = workId;36 // this.userId = userId;37 // this.coefficient = coefficient;38 // this.type = type;39 // }40 41 21 public Match(EmbeddedMatchId embeddedMatchId, float coefficient, WorkType type) { 42 22 this.embeddedMatchId = embeddedMatchId;
Note:
See TracChangeset
for help on using the changeset viewer.