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

📄 saveaddproform.java

📁 采用struts+hibernet+javabean+jsp 些得shop购物网站,此系本人原创.
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.hnzt.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

/** 
 * MyEclipse Struts
 * Creation date: 06-17-2007
 * 
 * XDoclet definition:
 * @struts.form name="saveaddproForm"
 */
public class SaveaddproForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** price property */
	private Double price;

	/** stuff property */
	private String stuff;

	/** name property */
	private String name;

	/** pnumber property */
	private String pnumber;
	
	/** mnumber property */
	private String mnumber;
	
	/** packsize property */
	private Integer packsize1;
	private Integer packsize2;
	private Integer packsize3;
	

	/** psize property */
	private String psize;

	/** number property */
	private String number;

	/** pic property */
//	private String pic;
	private FormFile pic;
	
	private String fname;
	private String size;

	/** nclass property */
	private Integer nclass;

	/** topTime property */
	private String topTime;

	/** brief property */
	private String brief;

	/** 配件 property*/
	
	private String peijian1;
	
	private String peijian2;
	
	private String peijian3;
	
	private String peijian4;
	
	private String peijian5;
	/*
	 * Generated Methods
	 */

	public String getPeijian1() {
		return peijian1;
	}

	public void setPeijian1(String peijian1) {
		this.peijian1 = peijian1;
	}

	public String getPeijian2() {
		return peijian2;
	}

	public void setPeijian2(String peijian2) {
		this.peijian2 = peijian2;
	}

	public String getPeijian3() {
		return peijian3;
	}

	public void setPeijian3(String peijian3) {
		this.peijian3 = peijian3;
	}

	public String getPeijian4() {
		return peijian4;
	}

	public void setPeijian4(String peijian4) {
		this.peijian4 = peijian4;
	}

	public String getPeijian5() {
		return peijian5;
	}

	public void setPeijian5(String peijian5) {
		this.peijian5 = peijian5;
	}

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

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

	/** 
	 * Returns the price.
	 * @return Double
	 */
	public Double getPrice() {
		return price;
	}

	/** 
	 * Set the price.
	 * @param price The price to set
	 */
	public void setPrice(Double price) {
		this.price = price;
	}

	/** 
	 * Returns the stuff.
	 * @return String
	 */
	public String getStuff() {
		return stuff;
	}

	/** 
	 * Set the stuff.
	 * @param stuff The stuff to set
	 */
	public void setStuff(String stuff) {
		this.stuff = stuff;
	}

	/** 
	 * Returns the name.
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/** 
	 * Set the name.
	 * @param name The name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * Returns the mnumber.
	 * @return String
	 */
	public String getMnumber() {
		return mnumber;
	}

	/** 
	 * Set the mnumber.
	 * @param mnumber The mnumber to set
	 */
	public void setMnumber(String mnumber) {
		this.mnumber = mnumber;
	}

	/** 
	 * Returns the psize.
	 * @return String
	 */
	public String getPsize() {
		return psize;
	}

	/** 
	 * Set the psize.
	 * @param psize The psize to set
	 */
	public void setPsize(String psize) {
		this.psize = psize;
	}

	/** 
	 * Returns the number.
	 * @return Integer
	 */
	public String getNumber() {
		return number;
	}

	/** 
	 * Set the number.
	 * @param number The number to set
	 */
	public void setNumber(String number) {
		this.number = number;
	}

	/** 
	 * Returns the pic.
	 * @return String
	 */
	public FormFile getPic() {
		return pic;
	}

	/** 
	 * Set the pic.
	 * @param pic The pic to set
	 */
	public void setPic(FormFile pic) {
		this.pic = pic;
	}

	/** 
	 * Returns the nclass.
	 * @return Integer
	 */
	public Integer getNclass() {
		return nclass;
	}

	/** 
	 * Set the nclass.
	 * @param nclass The nclass to set
	 */
	public void setNclass(Integer nclass) {
		this.nclass = nclass;
	}

	/** 
	 * Returns the topTime.
	 * @return String
	 */
	public String getTopTime() {
		return topTime;
	}

	/** 
	 * Set the topTime.
	 * @param topTime The topTime to set
	 */
	public void setTopTime(String topTime) {
		this.topTime = topTime;
	}

	/** 
	 * Returns the brief.
	 * @return String
	 */
	public String getBrief() {
		return brief;
	}

	/** 
	 * Set the brief.
	 * @param brief The brief to set
	 */
	public void setBrief(String brief) {
		this.brief = brief;
	}
	
	public String getFname(){return this.fname;}
	public void setFname(String fname){this.fname = fname;}
	
	public String getSize(){return this.fname;}
	
	public void setSize(String size) {
		this.size = size;
	}
	
	public void setSize(){this.size = size;}

	public Integer getPacksize1() {
		return packsize1;
	}

	public void setPacksize1(Integer packsize1) {
		this.packsize1 = packsize1;
	}

	public Integer getPacksize2() {
		return packsize2;
	}

	public void setPacksize2(Integer packsize2) {
		this.packsize2 = packsize2;
	}

	public Integer getPacksize3() {
		return packsize3;
	}

	public void setPacksize3(Integer packsize3) {
		this.packsize3 = packsize3;
	}

	public String getPnumber() {
		return pnumber;
	}

	public void setPnumber(String pnumber) {
		this.pnumber = pnumber;
	}

}

⌨️ 快捷键说明

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