Last change
on this file since 4b1c93d 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:
369 bytes
|
Rev | Line | |
---|
[723994f] | 1 | package it.finki.tinki.model.dto;
|
---|
| 2 |
|
---|
| 3 | import it.finki.tinki.model.enumerator.AccountType;
|
---|
| 4 | import lombok.Data;
|
---|
| 5 |
|
---|
| 6 | @Data
|
---|
| 7 | public class LoginResponseDTO {
|
---|
| 8 | private Long id;
|
---|
| 9 | private String email;
|
---|
| 10 | private String name;
|
---|
| 11 | private AccountType type;
|
---|
[509cb95] | 12 | private String error;
|
---|
| 13 |
|
---|
| 14 | public LoginResponseDTO() {
|
---|
| 15 | this.error = "Invalid username or password!";
|
---|
| 16 | }
|
---|
[723994f] | 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.