📄 course.java
字号:
package org.eimhe.db;
import java.util.HashSet;
import java.util.Set;
import org.apache.struts.validator.ValidatorActionForm;
/**
* Course generated by MyEclipse - Hibernate Tools
*/
public class Course extends ValidatorActionForm implements java.io.Serializable {
// Fields
private Integer couId;
private String couName;
private String couDis;
private Set students=new HashSet();
// Constructors
public Set getStudents() {
return students;
}
public void setStudents(Set students) {
this.students = students;
}
/** default constructor */
public Course() {
}
/** full constructor */
public Course(String couName, String couDis) {
this.couName = couName;
this.couDis = couDis;
}
// Property accessors
public Integer getCouId() {
return this.couId;
}
public void setCouId(Integer couId) {
this.couId = couId;
}
public String getCouName() {
return this.couName;
}
public void setCouName(String couName) {
this.couName = couName;
}
public String getCouDis() {
return this.couDis;
}
public void setCouDis(String couDis) {
this.couDis = couDis;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -