-
Notifications
You must be signed in to change notification settings - Fork 3
/
Major.java
71 lines (65 loc) · 1.55 KB
/
Major.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.model;
public class Major {
private String majorId;
private String majorName;
private String majorDiscription;
private String coreCourses;
private String employment;
private String rank;
private int kindId ;
public Major(){
}
public Major(String majorId, String majorName) {
super();
this.majorId = majorId;
this.majorName = majorName;
}
public String getMajorId() {
return majorId;
}
public void setMajorId(String majorId) {
this.majorId = majorId;
}
public String getMajorName() {
return majorName;
}
public void setMajorName(String majorName) {
this.majorName = majorName;
}
public String getMajorDiscription() {
return majorDiscription;
}
public void setMajorDiscription(String majorDiscription) {
this.majorDiscription = majorDiscription;
}
public String getCoreCourses() {
return coreCourses;
}
public void setCoreCourses(String coreCourses) {
this.coreCourses = coreCourses;
}
public String getEmployment() {
return employment;
}
public void setEmployment(String employment) {
this.employment = employment;
}
public String getRank() {
return rank;
}
public void setRank(String rank) {
this.rank = rank;
}
public int getKindId() {
return kindId;
}
public void setKindId(int kindId) {
this.kindId = kindId;
}
@Override
public String toString() {
return "Major [majorId=" + majorId + ", majorName=" + majorName + ", majorDiscription=" + majorDiscription
+ ", coreCourses=" + coreCourses + ", employment=" + employment + ", rank=" + rank + ", kindId="
+ kindId + "]";
}
}