-
Notifications
You must be signed in to change notification settings - Fork 377
/
Member.java
46 lines (40 loc) · 953 Bytes
/
Member.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package library;
public class Member {
private final String memberId;
private final String memberName;
private final String memberType;
private final int entitlement;
private final String address;
private final String emailId;
public Member(String memberId, String memberName, String memberType, int entitlement, String address,
String emailId) {
super();
this.memberId = memberId;
this.memberName = memberName;
this.memberType = memberType;
this.entitlement = entitlement;
this.address = address;
this.emailId = emailId;
}
public String getMemberId() {
return memberId;
}
public String getMemberName() {
return memberName;
}
public String getMemberType() {
return memberType;
}
public int getEntitlement() {
return entitlement;
}
public String getAddress() {
return address;
}
public String getEmailId() {
return emailId;
}
public String toString(){
return memberId + " " + memberName;
}
}