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

📄 dept.java

📁 机房运营维护系统 java+oracle9i 使用struts 分用户权限 完成用户对机房信息的增删改查等功能
💻 JAVA
字号:
package ms.hibernate;

import java.util.HashSet;
import java.util.Set;


/**
 * Dept generated by MyEclipse - Hibernate Tools
 */

public class Dept  implements java.io.Serializable {


    // Fields    

     private Long deptid;
     private Emp emp;
     private String dname;
     private String tel;
     private String fax;
     private String memo;
     private Set emps = new HashSet(0);
     private Set rooms = new HashSet(0);


    // Constructors

    /** default constructor */
    public Dept() {
    }

	/** minimal constructor */
    public Dept(String dname) {
        this.dname = dname;
    }
    
    /** full constructor */
    public Dept(Emp emp, String dname, String tel, String fax, String memo, Set emps, Set rooms) {
        this.emp = emp;
        this.dname = dname;
        this.tel = tel;
        this.fax = fax;
        this.memo = memo;
        this.emps = emps;
        this.rooms = rooms;
    }

   
    // Property accessors

    public Long getDeptid() {
        return this.deptid;
    }
    
    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    public Emp getEmp() {
        return this.emp;
    }
    
    public void setEmp(Emp emp) {
        this.emp = emp;
    }

    public String getDname() {
        return this.dname;
    }
    
    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getTel() {
        return this.tel;
    }
    
    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getFax() {
        return this.fax;
    }
    
    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Set getEmps() {
        return this.emps;
    }
    
    public void setEmps(Set emps) {
        this.emps = emps;
    }

    public Set getRooms() {
        return this.rooms;
    }
    
    public void setRooms(Set rooms) {
        this.rooms = rooms;
    }
   








}

⌨️ 快捷键说明

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