goodinfo.java

来自「这也是一个源码文件」· Java 代码 · 共 60 行

JAVA
60
字号
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 + =
减小字号Ctrl + -
显示快捷键?