Enlever enum dans swimmingpool

This commit is contained in:
Nicolas Héron 2018-09-07 10:48:30 +02:00
commit d45d619f03
3 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ import java.util.Date;
public class Period extends BaseElement {
private Date desidedStartDate;
private SeasonType seasonType;
private String seasonType;
public Period() {
}
@ -33,11 +33,11 @@ public class Period extends BaseElement {
this.desidedStartDate = desidedStartDate;
}
public SeasonType getSeasonType() {
public String getSeasonType() {
return seasonType;
}
public void setSeasonType(SeasonType seasonType) {
public void setSeasonType(String seasonType) {
this.seasonType = seasonType;
}

View file

@ -23,7 +23,7 @@ import java.util.List;
public class Person extends BaseElement {
private String name;
private String surname;
private Gender gender;
private String gender;
private Date birthdate;
private List<Price> priceList = new ArrayList<>();
private double age;
@ -49,11 +49,11 @@ public class Person extends BaseElement {
this.surname = surname;
}
public Gender getGender() {
public String getGender() {
return gender;
}
public void setGender(Gender gender) {
public void setGender(String gender) {
this.gender = gender;
}

View file

@ -21,7 +21,7 @@ import java.math.BigDecimal;
public class Price {
private BigDecimal amount;
private String description;
private PriceType priceType;
private String priceType;
public Price() {
}
@ -42,11 +42,11 @@ public class Price {
this.description = description;
}
public PriceType getPriceType() {
public String getPriceType() {
return priceType;
}
public void setPriceType(PriceType priceType) {
public void setPriceType(String priceType) {
this.priceType = priceType;
}