From e73a1d1b0d6001eefa42b6b60ac0fbd3cef551c6 Mon Sep 17 00:00:00 2001 From: Sven Efftinge Date: Sun, 25 Apr 2021 16:31:00 +0000 Subject: [PATCH] Make firstname mandatory --- .../java/org/springframework/samples/petclinic/model/Person.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/springframework/samples/petclinic/model/Person.java b/src/main/java/org/springframework/samples/petclinic/model/Person.java index e4a3763f..883376fb 100644 --- a/src/main/java/org/springframework/samples/petclinic/model/Person.java +++ b/src/main/java/org/springframework/samples/petclinic/model/Person.java @@ -28,6 +28,7 @@ public class Person extends BaseEntity { @Column(name = "first_name") + @NotEmpty private String firstName; @Column(name = "last_name")