package com.routeme.dtl;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

public class UserDTO {
    private String id;

    @NotEmpty
    private String name;

    @NotEmpty
    @Email
    private String email;

    @NotEmpty
    private String password;

    public String getId() {
        return id;
    }

    public String getEmail() {
        return email;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}

@@ -15,17 +15,17 @@
 uteme.dt
-l
+o
 ;%0A%0Aimpor
@@ -115,21 +115,21 @@
 ints.Not
-Empty
+Blank
 ;%0A%0Apubli
@@ -170,37 +170,37 @@
 ng id;%0A%0A    @Not
-Empty
+Blank
 %0A    private Str
@@ -199,24 +199,28 @@
 vate String 
+user
 name;%0A%0A    @
@@ -218,29 +218,29 @@
 e;%0A%0A    @Not
-Empty
+Blank
 %0A    @Email%0A
@@ -278,13 +278,13 @@
 @Not
-Empty
+Blank
 %0A   
@@ -306,24 +306,80 @@
  password;%0A%0A
+    @NotBlank%0A    private String confirmationPassword;%0A%0A
     public S
@@ -525,16 +525,20 @@
  return 
+user
 name;%0A  
@@ -800,16 +800,20 @@
    this.
+user
 name = n

Fix bugs and enhance UserDTO