@@ -0,0 +1,1807 @@
+package com.github.sbugat.samplerest.dto;%0D%0A%0D%0Aimport javax.xml.bind.annotation.XmlElement;%0D%0Aimport javax.xml.bind.annotation.XmlRootElement;%0D%0A%0D%0Aimport io.swagger.annotations.ApiModelProperty;%0D%0A%0D%0A@XmlRootElement(%0D%0A%09%09name = %22User%22)%0D%0Apublic class UserDto %7B%0D%0A%0D%0A%09private String username;%0D%0A%09private String firstName;%0D%0A%09private String lastName;%0D%0A%09private String email;%0D%0A%09private String password;%0D%0A%0D%0A%09private String roles;%0D%0A%0D%0A%09private int userStatus;%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22firstName%22)%0D%0A%09public String getFirstName() %7B%0D%0A%09%09return firstName;%0D%0A%09%7D%0D%0A%0D%0A%09public void setFirstName(final String firstName) %7B%0D%0A%09%09this.firstName = firstName;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22username%22)%0D%0A%09public String getUsername() %7B%0D%0A%09%09return username;%0D%0A%09%7D%0D%0A%0D%0A%09public void setUsername(final String username) %7B%0D%0A%09%09this.username = username;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22lastName%22)%0D%0A%09public String getLastName() %7B%0D%0A%09%09return lastName;%0D%0A%09%7D%0D%0A%0D%0A%09public void setLastName(final String lastName) %7B%0D%0A%09%09this.lastName = lastName;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22email%22)%0D%0A%09public String getEmail() %7B%0D%0A%09%09return email;%0D%0A%09%7D%0D%0A%0D%0A%09public void setEmail(final String email) %7B%0D%0A%09%09this.email = email;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22password%22)%0D%0A%09public String getPassword() %7B%0D%0A%09%09return password;%0D%0A%09%7D%0D%0A%0D%0A%09public void setPassword(final String password) %7B%0D%0A%09%09this.password = password;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22roles%22)%0D%0A%09public String getRoles() %7B%0D%0A%09%09return roles;%0D%0A%09%7D%0D%0A%0D%0A%09public void setRoles(final String roles) %7B%0D%0A%09%09this.roles = roles;%0D%0A%09%7D%0D%0A%0D%0A%09@XmlElement(%0D%0A%09%09%09name = %22userStatus%22)%0D%0A%09@ApiModelProperty(%0D%0A%09%09%09value = %22User Status%22,%0D%0A%09%09%09allowableValues = %221-registered,2-active,3-blocked,4-closed%22)%0D%0A%09public int getUserStatus() %7B%0D%0A%09%09return userStatus;%0D%0A%09%7D%0D%0A%0D%0A%09public void setUserStatus(final int userStatus) %7B%0D%0A%09%09this.userStatus = userStatus;%0D%0A%09%7D%0D%0A%7D%0D%0A

Add user DTO