]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/model/IMembership.java
[3.3] first part.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / model / IMembership.java
1 package dst.ass1.jpa.model;
2
3 public interface IMembership {
4
5     Long getId();
6
7     void setId(Long id);
8
9     Boolean getPremium();
10
11     void setPremium(Boolean premium);
12
13     Double getDiscount();
14
15     void setDiscount(Double discount);
16
17     ICoursePlatform getCoursePlatform();
18
19     void setCoursePlatform(ICoursePlatform coursePlatform);
20
21     IParticipant getParticipant();
22
23     void setParticipant(IParticipant participant);
24 }