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

📄 abstractdepartment.java

📁 一个hibernate加spring学习的例子
💻 JAVA
字号:
package com.htxx.demo.model;

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


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

public abstract class AbstractDepartment  implements java.io.Serializable {


    // Fields    

     private String departmentId;
     private String departmentName;
     private Set employees = new HashSet(0);


    // Constructors

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

    
    /** full constructor */
    public AbstractDepartment(String departmentName, Set employees) {
        this.departmentName = departmentName;
        this.employees = employees;
    }

   
    // Property accessors

    public String getDepartmentId() {
        return this.departmentId;
    }
    
    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return this.departmentName;
    }
    
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Set getEmployees() {
        return this.employees;
    }
    
    public void setEmployees(Set employees) {
        this.employees = employees;
    }
   








}

⌨️ 快捷键说明

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