departments.java

来自「一个简单的人员管理。运用了ajax和struts、hibernate框架开发。」· Java 代码 · 共 73 行

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