📄 againsuretostayform.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-23-2008
*
* XDoclet definition:
* @struts.form name="againsuretostayForm"
*/
public class AgainsuretostayForm extends ActionForm {
/*
* Generated fields
*/
/** days property */
private int days;
private float price;
/** foregift property */
private float foregift;
/** begintime property */
private String begintime;
/** username property */
private String username;
/** roomnumber property */
private int 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 days.
* @return String
*/
public int getDays() {
return days;
}
/**
* Set the days.
* @param days The days to set
*/
public void setDays(int days) {
this.days = days;
}
/**
* 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 int getRoomnumber() {
return roomnumber;
}
/**
* Set the roomnumber.
* @param roomnumber The roomnumber to set
*/
public void setRoomnumber(int 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -