⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 special.java

📁 are are are are are are are are are are are are
💻 JAVA
字号:
/* * Special.java * * Created on 2006年5月12日, 下午10:37 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package enova.pojo;/** * * @author vlinux */public class Special implements java.io.Serializable {        private Integer id;    private String name;    private Department department;        /** Creates a new instance of Special */    public Special(){}        public Special( Integer id ){        this.setId( id );    }        /*专业名称、学院ID*/    public Special( String name, Integer departmentId ){        this( name, new Department(departmentId) );    }        /*专业、学院*/    public Special( String name, Department department ) {        this.setName(name);        this.setDepartment(department);    }    public Integer getId() {        return id;    }    public void setId(Integer id) {        this.id = id;    }    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public Department getDepartment() {        return department;    }    public void setDepartment(Department department) {        this.department = department;    }    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -