ntype.java

来自「Java项目 新闻管理系统 jsp+struts+hibernate 开发」· Java 代码 · 共 73 行

JAVA
73
字号
package com.xdf.news.bean;

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


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

public class Ntype  implements java.io.Serializable {


    // Fields    

     private Long typeid;
     private String typename;
     private Set newses = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Ntype(String typename) {
        this.typename = typename;
    }
    
    /** full constructor */
    public Ntype(String typename, Set newses) {
        this.typename = typename;
        this.newses = newses;
    }

   
    // Property accessors

    public Long getTypeid() {
        return this.typeid;
    }
    
    public void setTypeid(Long typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return this.typename;
    }
    
    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Set getNewses() {
        return this.newses;
    }
    
    public void setNewses(Set newses) {
        this.newses = newses;
    }
   








}

⌨️ 快捷键说明

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