source: src/main/java/it/finki/tinki/model/dto/response/account/LoginResponseDTO.java@ 297bd16

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

refactoring and response dto

  • Property mode set to 100644
File size: 386 bytes
Line 
1package it.finki.tinki.model.dto.response.account;
2
3import it.finki.tinki.model.enumerator.AccountType;
4import lombok.Data;
5
6@Data
7public class LoginResponseDTO {
8 private Long id;
9 private String email;
10 private String name;
11 private AccountType type;
12 private String error;
13
14 public LoginResponseDTO() {
15 this.error = "Invalid username or password!";
16 }
17}
Note: See TracBrowser for help on using the repository browser.