diff --git a/pom.xml b/pom.xml
index becd05b79..a305f879e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,12 +137,7 @@
${spring-format.version}
-
- validate
-
- validate
-
-
+
@@ -275,6 +270,41 @@
+
+
+
+
+ org.eclipse.m2e
+ lifecycle-mapping
+ 1.0.0
+
+
+
+
+
+
+ io.spring.javaformat
+
+
+ spring-javaformat-maven-plugin
+
+
+ [0.0.20,)
+
+
+ validate
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/org/springframework/samples/petclinic/owner/Owner.java b/src/main/java/org/springframework/samples/petclinic/owner/Owner.java
index 61083bc8d..cceab6f97 100644
--- a/src/main/java/org/springframework/samples/petclinic/owner/Owner.java
+++ b/src/main/java/org/springframework/samples/petclinic/owner/Owner.java
@@ -61,6 +61,22 @@ public class Owner extends Person {
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
private Set pets;
+
+ private int age;
+
+
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public void setPets(Set pets) {
+ this.pets = pets;
+ }
public String getAddress() {
return this.address;