Skip to content

Instantly share code, notes, and snippets.

@chrisegb
Created May 7, 2020 01:52
Show Gist options
  • Save chrisegb/3f4281cbb170ed26c85bb41057c6ec46 to your computer and use it in GitHub Desktop.
Save chrisegb/3f4281cbb170ed26c85bb41057c6ec46 to your computer and use it in GitHub Desktop.
public class RegisterRequest {
private String name;
private String userName;
private String email;
private String password;
private UserType userType;
private Date birthDate;
private Driver driver;
private Owner owner;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getEmail() {
return email;
}
public Date getBirthDate() {
return birthDate;
}
public void setBirthDate(Date birthDate) {
this.birthDate = birthDate;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public UserType getUserType() {
return userType;
}
public void setUserType(UserType userType) {
this.userType = userType;
}
public Driver getDriver() {
return driver;
}
public void setDriver(Driver driver) {
this.driver = driver;
}
public Owner getOwner() {
return owner;
}
public void setOwner(Owner owner) {
this.owner = owner;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment