📄 surestaytimeform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.chen.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;
/**
* MyEclipse Struts
* Creation date: 12-22-2008
*
* XDoclet definition:
* @struts.form name="surestaytimeForm"
*/
public class SurestaytimeForm extends ActionForm {
/*
* Generated fields
*/
/** foregift property */
private Float foregift;
private Float perprice;
private Float price;
/** begintime property */
private String begintime;
/** username property */
private String username;
/** roomnumber property */
private Integer roomnumber;
/** endtime property */
private String endtime;
/*
* Generated Methods
*/
/**
* 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 foregift.
* @return String
*/
public Float getForegift() {
return foregift;
}
/**
* Set the foregift.
* @param foregift The foregift to set
*/
public void setForegift(Float foregift) {
this.foregift = foregift;
}
/**
* Returns the begintime.
* @return String
*/
public String getBegintime() {
return begintime;
}
/**
* Set the begintime.
* @param begintime The begintime to set
*/
public void setBegintime(String begintime) {
this.begintime = begintime;
}
/**
* Returns the username.
* @return String
*/
public String getUsername() {
return username;
}
/**
* Set the username.
* @param username The username to set
*/
public void setUsername(String username) {
this.username = username;
}
/**
* Returns the roomnumber.
* @return String
*/
public Integer getRoomnumber() {
return roomnumber;
}
/**
* Set the roomnumber.
* @param roomnumber The roomnumber to set
*/
public void setRoomnumber(Integer roomnumber) {
this.roomnumber = roomnumber;
}
/**
* Returns the endtime.
* @return String
*/
public String getEndtime() {
return endtime;
}
/**
* Set the endtime.
* @param endtime The endtime to set
*/
public void setEndtime(String endtime) {
this.endtime = endtime;
}
public Float getPrice() {
return price;
}
public void setPrice(Float price) {
this.price = price;
}
public Float getPerprice() {
return perprice;
}
public void setPerprice(Float perprice) {
this.perprice = perprice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -