📄 category.java
字号:
/*
* Category.java
*
* Created on 2007年10月25日, 下午3:18
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.me.product;
import java.io.*;
/**
*
* @author Administrator
*/
public class Category implements Serializable{
/** Creates a new instance of Category */
/* 私有字段 */
private String categoryId;
private String name;
private String description;
/* JavaBean属性访问方法 */
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId.trim();
}
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 String toString() {
return getCategoryId();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -