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

📄 category.java

📁 网上购物系统用SSH实现的
💻 JAVA
字号:
package cn.com.tarena.ecport.pojo;

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

/**
 * <pre>
 * 商品分类Pojo
 * 此Pojo映射数据库中的Category表
 * </pre>
 * 
 * @author zhouyu 2008-1-16
 */
public class Category extends BasePojo {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7178798175596684655L;

	private Long categoryid; //��Ʒ�����������к�
  
	private String name;//��Ʒ������
  
	private String description;//��Ʒ��������
	
    private Set products = new HashSet(0);
    
    public Category() {
    }

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

   
    // Property accessors

    public Long getCategoryid() {
        return this.categoryid;
    }
    
    public void setCategoryid(Long categoryid) {
        this.categoryid = categoryid;
    }

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

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

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

}

⌨️ 快捷键说明

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