📄 goodinfo.java
字号:
package goodSearch;
/**
* @author snoomy
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class GoodInfo {
public GoodInfo(String GoodId, String Type, String Name) {
setGoodId(GoodId);
setName(Name);
setType(Type);
}
String GoodId, Name, Type;
/**
* Returns the goodId.
* @return String
*/
public String getGoodId() {
return GoodId;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return Name;
}
/**
* Returns the type.
* @return String
*/
public String getType() {
return Type;
}
/**
* Sets the goodId.
* @param goodId The goodId to set
*/
public void setGoodId(String goodId) {
GoodId = goodId;
}
/**
* Sets the name.
* @param name The name to set
*/
public void setName(String name) {
Name = name;
}
/**
* Sets the type.
* @param type The type to set
*/
public void setType(String type) {
Type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -