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

📄 resourcetb.java

📁 一个新闻发布系统
💻 JAVA
字号:
package com.accp.t29.hibernate.pojo;

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


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

public class ResourceTb  implements java.io.Serializable {


    // Fields    

     private long id;
     private String name;
     private Set privilegeTbs = new HashSet(0);
     private Set newsTbs = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public ResourceTb(String name) {
        this.name = name;
    }
    
    /** full constructor */
    public ResourceTb(String name, Set privilegeTbs, Set newsTbs) {
        this.name = name;
        this.privilegeTbs = privilegeTbs;
        this.newsTbs = newsTbs;
    }

   
    // Property accessors

    public long getId() {
        return this.id;
    }
    
    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getPrivilegeTbs() {
        return this.privilegeTbs;
    }
    
    public void setPrivilegeTbs(Set privilegeTbs) {
        this.privilegeTbs = privilegeTbs;
    }

    public Set getNewsTbs() {
        return this.newsTbs;
    }
    
    public void setNewsTbs(Set newsTbs) {
        this.newsTbs = newsTbs;
    }
   








}

⌨️ 快捷键说明

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