?? kind.java
字號:
package org.yeeku.model;
import java.io.Serializable;
import java.util.Set;
import java.util.HashSet;
/**
* @author yeeku.H.lee kongyeeku@163.com
* @version 1.0
* <br>Copyright (C), 2005-2008, yeeku.H.Lee
* <br>This program is protected by copyright laws.
* <br>Program Name:
* <br>Date:
*/
public class Kind implements Serializable
{
//標(biāo)識屬性,對應(yīng)數(shù)據(jù)表的邏輯主鍵
private Integer id;
//種類名
private String kindName;
//種類描述
private String kindDesc;
//該種類下的所有物品
private Set<Item> items = new HashSet<Item>();
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Set<Item> getItems() {
return items;
}
public void setItems(Set<Item> items) {
this.items = items;
}
public String getKindDesc() {
return kindDesc;
}
public void setKindDesc(String kindDesc) {
this.kindDesc = kindDesc;
}
public String getKindName() {
return kindName;
}
public void setKindName(String kindName) {
this.kindName = kindName;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -