PJ/Lab05/src/main/java/lab05/SubscriptionPlan.java
Fándly Gergő b9b0716eb8 chore: Lab05
2021-01-12 17:04:20 +02:00

37 lines
689 B
Java

package lab05;
public class SubscriptionPlan {
private Integer price;
private String description;
public SubscriptionPlan() {
}
SubscriptionPlan(Integer price, String description) {
this.price = price;
this.description = description;
}
public Integer getPrice() {
return price;
}
public void setPrice(Integer price) {
this.price = price;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "SubscriptionPlan{" + "price=" + price + ", description='" + description + '\'' + '}';
}
}