forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStuCourse.java
More file actions
47 lines (34 loc) · 831 Bytes
/
StuCourse.java
File metadata and controls
47 lines (34 loc) · 831 Bytes
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
package com.jwy.dto;
public class StuCourse implements java.io.Serializable {
private Integer id; //主键编号,自动增涨
private Integer stuId; //学生编号
private Integer courseId; //课程编号
// Constructors
/** default constructor */
public StuCourse() {
}
/** full constructor */
public StuCourse(Integer stuId, Integer courseId) {
this.stuId = stuId;
this.courseId = courseId;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getStuId() {
return this.stuId;
}
public void setStuId(Integer stuId) {
this.stuId = stuId;
}
public Integer getCourseId() {
return this.courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
}