📄 course.java
字号:
package com.zzu.dao.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Course entity.
*
* @author MyEclipse Persistence Tools
*/
public class Course implements java.io.Serializable {
// Fields
private String cno;
private String cname;
private Short ccredit;
private Set tcs = new HashSet(0);
private Set scs = new HashSet(0);
// Constructors
/** default constructor */
public Course() {
}
/** minimal constructor */
public Course(String cno) {
this.cno = cno;
}
/** full constructor */
public Course(String cno, String cname, Short ccredit, Set tcs, Set scs) {
this.cno = cno;
this.cname = cname;
this.ccredit = ccredit;
this.tcs = tcs;
this.scs = scs;
}
// Property accessors
public String getCno() {
return this.cno;
}
public void setCno(String cno) {
this.cno = cno;
}
public String getCname() {
return this.cname;
}
public void setCname(String cname) {
this.cname = cname;
}
public Short getCcredit() {
return this.ccredit;
}
public void setCcredit(Short ccredit) {
this.ccredit = ccredit;
}
public Set getTcs() {
return this.tcs;
}
public void setTcs(Set tcs) {
this.tcs = tcs;
}
public Set getScs() {
return this.scs;
}
public void setScs(Set scs) {
this.scs = scs;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -