📄 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
{
//标识属性,对应数据表的逻辑主键
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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -