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

📄 departments.java

📁 一个简单的人员管理。运用了ajax和struts、hibernate框架开发。
💻 JAVA
字号:
package com.liu.ems.hibernate;

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


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

public class Departments  implements java.io.Serializable {


    // Fields    

     private Long depid;
     private String depname;
     private Set employeeses = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Departments(String depname) {
        this.depname = depname;
    }
    
    /** full constructor */
    public Departments(String depname, Set employeeses) {
        this.depname = depname;
        this.employeeses = employeeses;
    }

   
    // Property accessors

    public Long getDepid() {
        return this.depid;
    }
    
    public void setDepid(Long depid) {
        this.depid = depid;
    }

    public String getDepname() {
        return this.depname;
    }
    
    public void setDepname(String depname) {
        this.depname = depname;
    }

    public Set getEmployeeses() {
        return this.employeeses;
    }
    
    public void setEmployeeses(Set employeeses) {
        this.employeeses = employeeses;
    }
   








}

⌨️ 快捷键说明

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