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

📄 category.java

📁 采用最新Struts2+Hibernate架构开发
💻 JAVA
字号:
package org.itfuture.www.po;

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


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

public class Category  implements java.io.Serializable {


    // Fields    

     private String catid;
     private String name;
     private String descn;
     private Set products = new HashSet(0);


    // Constructors

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

    
    /** full constructor */
    public Category(String name, String descn, Set products) {
        this.name = name;
        this.descn = descn;
        this.products = products;
    }

   
    // Property accessors

    public String getCatid() {
        return this.catid;
    }
    
    public void setCatid(String catid) {
        this.catid = catid;
    }

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

    public String getDescn() {
        return this.descn;
    }
    
    public void setDescn(String descn) {
        this.descn = descn;
    }

    public Set getProducts() {
        return this.products;
    }
    
    public void setProducts(Set products) {
        this.products = products;
    }
   








}

⌨️ 快捷键说明

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