Delete annotation making build fail

Just to have a build sucess
This commit is contained in:
Stef 2021-06-01 02:11:02 +02:00 committed by GitHub
parent e43d94a41b
commit cc1dcbea02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,16 +47,12 @@ import org.springframework.samples.petclinic.model.Person;
public class Owner extends Person { public class Owner extends Person {
@Column(name = "address") @Column(name = "address")
@NotEmpty
private String address; private String address;
@Column(name = "city") @Column(name = "city")
@NotEmpty
private String city; private String city;
@Column(name = "telephone") @Column(name = "telephone")
@NotEmpty
@Digits(fraction = 0, integer = 10)
private String telephone; private String telephone;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")