Changeset 509cb95 for src/main/java/it/finki/tinki/model
- Timestamp:
- 01/07/21 22:32:22 (4 years ago)
- Branches:
- master
- Children:
- a8e8545
- Parents:
- 723994f
- Location:
- src/main/java/it/finki/tinki/model
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/model/EmbeddedMatchId.java
r723994f r509cb95 18 18 @OneToOne 19 19 private User user; 20 21 public EmbeddedMatchId(){ } 22 23 public EmbeddedMatchId(Work work, User user){ 24 this.work = work; 25 this.user = user; 26 } 27 20 28 } -
src/main/java/it/finki/tinki/model/Match.java
r723994f r509cb95 19 19 public Match(){} 20 20 21 public Match(float coefficient, WorkType type) { 21 public Match(EmbeddedMatchId embeddedMatchId, float coefficient, WorkType type) { 22 this.combinedId = embeddedMatchId; 22 23 this.coefficient = coefficient; 23 24 this.type = type; -
src/main/java/it/finki/tinki/model/dto/LoginResponseDTO.java
r723994f r509cb95 10 10 private String name; 11 11 private AccountType type; 12 private String error; 13 14 public LoginResponseDTO() { 15 this.error = "Invalid username or password!"; 16 } 12 17 }
Note:
See TracChangeset
for help on using the changeset viewer.