Files
spring-boot-rest/libraries/src/main/java/com/baeldung/javers/PersonWithAddress.java
Eugen Paraschiv d2a2a65566 cleanup work
2018-03-04 17:39:09 +02:00

40 lines
751 B
Java

package com.baeldung.javers;
import java.util.List;
public class PersonWithAddress {
private Integer id;
private String name;
private List<Address> address;
public PersonWithAddress(Integer id, String name, List<Address> address) {
this.id = id;
this.name = name;
this.address = address;
}
public Integer getId() {
return id;
}
public String getName() {
return name;
}
public void setId(Integer id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public List<Address> getAddress() {
return address;
}
public void setAddress(List<Address> address) {
this.address = address;
}
}