⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 foodinfoform.java

📁 实现网上订餐系统
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.eatery.struts.form;

import java.io.File;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import com.eatery.po.OrderInfo;


public class FoodInfoForm extends ActionForm {
	
    private Integer foodId;
    private Integer foodSmallTypeId;
    private String foodName;
    private Double foodPrice;
    private String foodFrom;
    private String foodImage;
    private FormFile file; 
    private OrderInfo orderInfo;
	
	public String getFoodFrom() {
		return foodFrom;
	}

	public void setFoodFrom(String foodFrom) {
		this.foodFrom = foodFrom;
	}

	public Integer getFoodId() {
		return foodId;
	}

	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}

	public String getFoodName() {
		return foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public Double getFoodPrice() {
		return foodPrice;
	}

	public void setFoodPrice(Double foodPrice) {
		this.foodPrice = foodPrice;
	}

	public Integer getFoodSmallTypeId() {
		return foodSmallTypeId;
	}

	public void setFoodSmallTypeId(Integer foodSmallTypeId) {
		this.foodSmallTypeId = foodSmallTypeId;
	}

	public OrderInfo getOrderInfo() {
		return orderInfo;
	}

	public void setOrderInfo(OrderInfo orderInfo) {
		this.orderInfo = orderInfo;
	}

	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		
		return null;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	public String getFoodImage() {
		return foodImage;
	}

	public void setFoodImage(String foodImage) {
		this.foodImage = foodImage;
	}

	public FormFile getFile() {
		return file;
	}

	public void setFile(FormFile file) {
		
		this.file = file;
	}
}

⌨️ 快捷键说明

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