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 { public class Period extends BaseElement {
private Date desidedStartDate; private Date desidedStartDate;
private SeasonType seasonType; private String seasonType;
public Period() { public Period() {
} }
@ -33,11 +33,11 @@ public class Period extends BaseElement {
this.desidedStartDate = desidedStartDate; this.desidedStartDate = desidedStartDate;
} }
public SeasonType getSeasonType() { public String getSeasonType() {
return seasonType; return seasonType;
} }
public void setSeasonType(SeasonType seasonType) { public void setSeasonType(String seasonType) {
this.seasonType = seasonType; this.seasonType = seasonType;
} }

View file

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

View file

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