io.hawt.example.dozer.dto.CustomerDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of example-dozer-models Show documentation
Show all versions of example-dozer-models Show documentation
hawtio :: example services :: dozer models
package io.hawt.example.dozer.dto;
import java.io.Serializable;
public class CustomerDTO implements Serializable {
private static final long serialVersionUID = 1L;
private String firstName;
private String lastName;
private AddressDTO address;
public CustomerDTO(String firstName, String lastName, AddressDTO address) {
this.firstName = firstName;
this.lastName = lastName;
this.address = address;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public AddressDTO getAddress() {
return address;
}
public void setAddress(AddressDTO address) {
this.address = address;
}
}