mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:05:49 +00:00
update names
This commit is contained in:
parent
eea07af42d
commit
89995ea7db
1 changed files with 3 additions and 3 deletions
|
@ -30,18 +30,18 @@ public class Person extends BaseEntity {
|
|||
|
||||
@Column(name = "first_name")
|
||||
@NotEmpty
|
||||
protected String firstName;
|
||||
protected String firstNom;
|
||||
|
||||
@Column(name = "last_name")
|
||||
@NotEmpty
|
||||
protected String lastName;
|
||||
|
||||
public String getFirstName() {
|
||||
return this.firstName;
|
||||
return this.firstNom;
|
||||
}
|
||||
|
||||
public void setFirstName(String firstName) {
|
||||
this.firstName = firstName;
|
||||
this.firstNom = firstName;
|
||||
}
|
||||
|
||||
public String getLastName() {
|
||||
|
|
Loading…
Reference in a new issue