All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hawt.example.dozer.dto.CustomerDTO Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy