Last change
on this file since 14b648e was 723994f, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
refactoring and further login functionality
|
-
Property mode
set to
100644
|
File size:
440 bytes
|
Rev | Line | |
---|
[723994f] | 1 | package it.finki.tinki.model.dto;
|
---|
[83a5af4] | 2 |
|
---|
| 3 | import it.finki.tinki.model.enumerator.AccountType;
|
---|
| 4 | import lombok.Data;
|
---|
| 5 |
|
---|
| 6 | @Data
|
---|
[723994f] | 7 | public class AuthResponseDTO {
|
---|
| 8 | private Long id;
|
---|
| 9 | private String email;
|
---|
| 10 | private String name;
|
---|
| 11 | private AccountType type;
|
---|
[83a5af4] | 12 |
|
---|
[723994f] | 13 | public AuthResponseDTO() {
|
---|
[83a5af4] | 14 | this.id = null;
|
---|
| 15 | this.email = "Wrong username or password!";
|
---|
| 16 | this.name = "Wrong username or password!";
|
---|
| 17 | this.type = null;
|
---|
| 18 | }
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.