foodform.java

来自「struts+spring+hibernate的例子」· Java 代码 · 共 29 行

JAVA
29
字号
package com.meagle.forms;

import org.apache.struts.action.ActionForm;

public class FoodForm extends ActionForm{
	private Integer id;
	private String name;	
	private double price;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?