foodbean.java

来自「贯穿案例JSP+JavaBean+Servlet网上订餐系统.希望大家下载下来研」· Java 代码 · 共 50 行

JAVA
50
字号
package com.restrant.entity;
import java.io.Serializable;

public class FoodBean  implements Serializable {

	private static final long serialVersionUID = 1L;
	private int foodId=0;
	private String foodName=null;
	private String remark=null;
	private float foodPrice=0;
	private  String description=null;
	private String foodImage=null;
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getFoodId() {
		return foodId;
	}
	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}
	public String getFoodImage() {
		return foodImage;
	}
	public void setFoodImage(String foodImage) {
		this.foodImage = foodImage;
	}
	public String getFoodName() {
		return foodName;
	}
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	public float getFoodPrice() {
		return foodPrice;
	}
	public void setFoodPrice(float foodPrice) {
		this.foodPrice = foodPrice;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}

⌨️ 快捷键说明

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