sc.java

来自「考试管理,是的对计算机等级考试报名,管理的具体实现」· Java 代码 · 共 60 行

JAVA
60
字号
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 + =
减小字号Ctrl + -
显示快捷键?