Ignore:
Timestamp:
01/07/21 16:13:55 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
509cb95
Parents:
1397178
Message:

refactoring and further login functionality

Location:
src/main/java/it/finki/tinki/model/dto
Files:
4 added
2 moved

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/model/dto/AccountLoginDTO.java

    r1397178 r723994f  
    1 package it.finki.tinki.model.pojo;
     1package it.finki.tinki.model.dto;
    22
    33import it.finki.tinki.model.enumerator.AccountType;
     
    55
    66@Data
    7 public class AccountLoginDataPojo {
    8     private String account;
     7public class AccountLoginDTO {
     8    private String email;
    99    private String password;
    1010    private AccountType type;
  • src/main/java/it/finki/tinki/model/dto/AuthResponseDTO.java

    r1397178 r723994f  
    1 package it.finki.tinki.model.pojo;
     1package it.finki.tinki.model.dto;
    22
    33import it.finki.tinki.model.enumerator.AccountType;
     
    55
    66@Data
    7 public class AuthResponseDataPojo {
    8     Long id;
    9     String email;
    10     String name;
    11     AccountType type;
     7public class AuthResponseDTO {
     8    private Long id;
     9    private String email;
     10    private String name;
     11    private AccountType type;
    1212
    13     public AuthResponseDataPojo() {
     13    public AuthResponseDTO() {
    1414        this.id = null;
    1515        this.email = "Wrong username or password!";
Note: See TracChangeset for help on using the changeset viewer.