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

📄 category.java

📁 使用EJB实现的网上商城
💻 JAVA
字号:
package com.jdon.estore.model;import java.util.*;import com.jdon.controller.model.Model;public class Category implements Model{ private int parentID; private int index; private String catId; private String name; private String description; private Collection products = new ArrayList(); public Category(){ } public Category(String catId, String name, String description){   this.catId = catId;   this.name = name;   this.description = description; } public int getParentID(){    return parentID; } public void setParentID(int parentID){    this.parentID = parentID; } public int getIndex(){    return index; } public void setIndex(int index){    this.index = index; } public String getCatId(){    return catId; } public void setCatId(String catId){    this.catId = catId; } public String getName(){    return name; } public void setName(String name){    this.name = name; } public String getDescription(){    return description; } public void setDescription(String description){   this.description = description; } public Collection getProducts(){    return products; } public void setProducts(Collection products){   this.products = products; }}

⌨️ 快捷键说明

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