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

📄 assetturnoverdetailform.java

📁 固定资产管理系统 资产的增删改查 借出 管理 自动报废 统计功能等等
💻 JAVA
字号:
/** * @author Administrator *4:06:52 PM */package com.qrsx.asset.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.action.ActionMessage;import com.qrsx.asset.model.Asset;/** * @author 马利永 * */public class AssetTurnoverDetailForm extends ActionForm{	private String id;		//主键	private String assetId; //资产主键	private String dependDate;//借出(归还)日期	private String givebackPlanDate;//预计归还日期	private String employeeId;//借出(归还)人	private String borrowMan;//借用人	private String borrowCompany; //借用单位	private String state;    //1.借出 2.归还		private Asset asset ;   //级联的资产对象	/**	 * 表单验证方法	 * @param mapping	 * @param request	 * @return	 */	public ActionErrors validate( 			ActionMapping mapping, HttpServletRequest request ){		ActionErrors errors =new ActionErrors();		if((dependDate==null)||dependDate.trim().length()<1){			errors.add("dependDate",				new ActionMessage("AssetTurnoverDetailForm.dependDate.required"));		}		if((employeeId==null)||employeeId.trim().length()<1){			errors.add("employeeId",				new ActionMessage("AssetTurnoverDetailForm.employeeId.required"));		}		if((state==null)||state.trim().length()<1){			errors.add("state",				new ActionMessage("AssetTurnoverDetailForm.state.required"));		}		return errors;	}		/**	 * @return the borrowCompany	 */	public String getBorrowCompany() {		return borrowCompany;	}	/**	 * @param borrowCompany the borrowCompany to set	 */	public void setBorrowCompany(String borrowCompany) {		this.borrowCompany = borrowCompany;	}	/**	 * @return the id	 */	public String getId() {		return id;	}	/**	 * @param id the id to set	 */	public void setId(String id) {		this.id = id;	}	/**	 * @return the assetId	 */	public String getAssetId() {		return assetId;	}	/**	 * @param assetId the assetId to set	 */	public void setAssetId(String assetId) {		this.assetId = assetId;	}	/**	 * @return the dependDate	 */	public String getDependDate() {		return dependDate;	}	/**	 * @param dependDate the dependDate to set	 */	public void setDependDate(String dependDate) {		this.dependDate = dependDate;	}	/**	 * @return the givebackPlanDate	 */	public String getGivebackPlanDate() {		return givebackPlanDate;	}	/**	 * @param givebackPlanDate the givebackPlanDate to set	 */	public void setGivebackPlanDate(String givebackPlanDate) {		this.givebackPlanDate = givebackPlanDate;	}	/**	 * @return the employeeId	 */	public String getEmployeeId() {		return employeeId;	}	/**	 * @param employeeId the employeeId to set	 */	public void setEmployeeId(String employeeId) {		this.employeeId = employeeId;	}	/**	 * @return the borrowMan	 */	public String getBorrowMan() {		return borrowMan;	}	/**	 * @param borrowMan the borrowMan to set	 */	public void setBorrowMan(String borrowMan) {		this.borrowMan = borrowMan;	}	/**	 * @return the state	 */	public String getState() {		return state;	}	/**	 * @param state the state to set	 */	public void setState(String state) {		this.state = state;	}	/**	 * @return the asset	 */	public Asset getAsset() {		return asset;	}	/**	 * @param asset the asset to set	 */	public void setAsset(Asset asset) {		this.asset = asset;	}	}

⌨️ 快捷键说明

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