Skip to content

Commit

Permalink
Make firstname mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
svenefftinge committed Apr 25, 2021
1 parent 2c63795 commit e73a1d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
public class Person extends BaseEntity {

@Column(name = "first_name")
@NotEmpty
private String firstName;

@Column(name = "last_name")
Expand Down

0 comments on commit e73a1d1

Please sign in to comment.