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

📄 rentbuildingsinfo.java

📁 JSP移动商品管理平台源代码.........
💻 JAVA
字号:
package imis_hous.com.bean;
import java.io.Serializable;
import java.sql.Date;
public class RentBuildingsInfo  implements Serializable{

	public RentBuildingsInfo() {
		// TODO Auto-generated constructor stub
	}
	private int rentId;
	private String	BuildingName;
	private float	BuildingArea;
	private int	BuildingLayers;
	private Date 	BuildDate;
	private String	Own;
	private String	Addr;
	private int	ReMark;
	private String	Memo;
	private Date	RentBd;
	private Date	RentEd;
	private float	Rent;
	private String	RentFor;
	private Date	PerDate;
	private String	Perm;
	/**
	 * @return the addr
	 */
	private String deletUrl;
	public String getDeletUrl() {
		String url = "/Imis/servlet/RentBuding_sl?id=delete&&rentId="+this.rentId;
		return "<a href="+url+">"+"删除</a>";
	}
	public String getAddr() {
		return Addr;
	}
	/**
	 * @param addr the addr to set
	 */
	public void setAddr(String addr) {
		if(addr!=null)
		Addr = addr.trim();
		else Addr="";
	}

	/**
	 * @return the buildingArea
	 */
	public float getBuildingArea() {
		return BuildingArea;
	}
	/**
	 * @param buildingArea the buildingArea to set
	 */
	public void setBuildingArea(float buildingArea) {
		BuildingArea = buildingArea;
	}
	public void setBuildingArea(String buildingArea) {
		if(buildingArea!=null&&!buildingArea.equals(""))
		BuildingArea = Float.parseFloat(buildingArea.trim());
		else BuildingArea=0;
	}
	/**
	 * @return the buildingLayers
	 */
	public int getBuildingLayers() {
		return BuildingLayers;
	}
	/**
	 * @param buildingLayers the buildingLayers to set
	 */
	public void setBuildingLayers(int buildingLayers) {
		BuildingLayers = buildingLayers;
	}
	public void setBuildingLayers(String buildingLayers) {
		if(buildingLayers!=null&&!buildingLayers.equals(""))
		BuildingLayers = Integer.parseInt(buildingLayers.trim());
		else
			BuildingLayers=1;
	}
	/**
	 * @return the buildingName
	 */
	public String getBuildingName() {
		return BuildingName;
	}
	/**
	 * @param buildingName the buildingName to set
	 */
	public void setBuildingName(String buildingName) {
		if(buildingName!=null)
		BuildingName = buildingName.trim();
		else
			BuildingName="";
	}
	/**
	 * @return the memo
	 */
	public String getMemo() {
		return Memo;
	}
	/**
	 * @param memo the memo to set
	 */
	public void setMemo(String memo) {
		if(memo!=null)
			Memo = memo.trim();
		else
			Memo = "";
	}
	/**
	 * @return the own
	 */
	public String getOwn() {
		return Own;
	}
	/**
	 * @param own the own to set
	 */
	public void setOwn(String own) {
		if(own!=null)
			Own = own.trim();
		else
		Own = "";
	}
	
	public Date getBuildDate() {
		return BuildDate;
	}
	public void setBuildDate(Date buildDate) {
		BuildDate = buildDate;
	}
	public void setBuildDate(String buildDate) {
		if(buildDate != null && (buildDate.equals("") != true)) {
			this.BuildDate = Date.valueOf(buildDate);
		}
	}
	public Date getPerDate() {
		return PerDate;
	}
	public void setPerDate(Date perDate) {
		PerDate = perDate;
	}
	public void setPerDate(String perDate) {
		if(perDate != null && (perDate.equals("") != true)) {
			this.PerDate = Date.valueOf(perDate);
		}
	}
	public Date getRentBd() {
		return RentBd;
	}
	public void setRentBd(Date rentBd) {
		RentBd = rentBd;
	}
	public void setRentBd(String rentBd) {
		if(rentBd != null && (rentBd.equals("") != true)) {
			this.RentBd = Date.valueOf(rentBd);
		}
	}
	public Date getRentEd() {
		return RentEd;
	}
	public void setRentEd(Date rentEd) {
		RentEd = rentEd;
	}
	public void setRentEd(String rentEd) {
		if(rentEd != null && (rentEd.equals("") != true)) {
			this.RentEd = Date.valueOf(rentEd);
		}
	}
	/**
	 * @return the perm
	 */
	public String getPerm() {
		return Perm;
	}
	/**
	 * @param perm the perm to set
	 */
	public void setPerm(String perm) {
		if(perm!=null)
			Perm = perm.trim();
		else
		Perm = "";
	}
	/**
	 * @return the reMark
	 */
	public int getReMark() {
		return ReMark;
	}
	/**
	 * @param reMark the reMark to set
	 */
	public void setReMark(int reMark) {
		ReMark = reMark;
	}
	public void setReMark(String reMark) {
		if(reMark!=null&&!reMark.equals(""))
			ReMark = Integer.parseInt(reMark.trim());
		else
		ReMark = -1;
	}
	/**
	 * @return the rent
	 */
	public float getRent() {
		return Rent;
	}
	/**
	 * @param rent the rent to set
	 */
	public void setRent(float rent) {
		Rent = rent;
	}
	public void setRent(String rent) {
		if(rent!=null&&!rent.equals(""))
			Rent = Float.parseFloat(rent.trim());
		else
		Rent = 0;
	}
	
	/**
	 * @return the rentFor
	 */
	public String getRentFor() {
		return RentFor;
	}
	/**
	 * @param rentFor the rentFor to set
	 */
	public void setRentFor(String rentFor) {
		if(rentFor!=null)
			RentFor = rentFor.trim();
		else
		RentFor = "";
	}
	/**
	 * @return the rentId
	 */
	public int getRentId() {
		return rentId;
	}
	public void setRentId(int rentId) {
		this.rentId = rentId;
	}
	
}

⌨️ 快捷键说明

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