Jean-Francois Leveque

Refactoring int -> Integer pour les Id : Country

......@@ -10,14 +10,14 @@ import javax.persistence.*;
public class Country {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int countryId;
private Integer countryId;
private String countryName;
public int getCountryId() {
public Integer getCountryId() {
return countryId;
}
public void setCountryId(int countryId) {
public void setCountryId(Integer countryId) {
this.countryId = countryId;
}
......