📄 sc.java
字号:
package basic;
import java.io.Serializable;
public class Sc implements Serializable {
private long id;
private long dept;
private Student student;
private Computer computer;
public Sc(){}
public Sc(Student student,Computer computer)
{
this.student=student;
this.computer=computer;
}
/** default constructor */
/** minimal constructor */
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
public long getDept() {
return this.dept;
}
public void setDept(long dept) {
this.dept = dept;
}
public Computer getComputer() {
return computer;
}
public void setComputer(Computer computer) {
this.computer = computer;
}
public Student getStudent() {
return student;
}
public void setStudent(Student student) {
this.student = student;
}
public Sc(long id, long dept, Student student, Computer computer) {
super();
// TODO Auto-generated constructor stub
this.id = id;
this.dept = dept;
this.student = student;
this.computer = computer;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -