📄 roombuyinfo.java
字号:
package imis_hous.com.bean;
import java.io.Serializable;
import java.sql.Date;
public class RoomBuyInfo implements Serializable{
public RoomBuyInfo() {
// TODO Auto-generated constructor stub
}
private int roomBuyId;
private String RoomBuyUser;
private String RoomBuyReasion;
private Date BuyAppDate;
private String RoomBuyLeader;
private String RoomBuyExcuter;
private Date RoomBuyDate;
private int RoomBuyAgreenFlag;
private String CheckDes;
private int BuyIs;
private String BuyNo;
private String RoomInfo;
private int ReMark;
private String deletUrl;
private String Memo;
private String buyIsToString;
public String getBuyIsToString() {
if(getBuyIs()==1){
buyIsToString="楼";
}else if(getBuyIs()==2){
buyIsToString="层";
}else if(getBuyIs()==3){
buyIsToString="房间";
}
return buyIsToString;
}
public void setBuyIsToString(String buyIsToString) {
this.buyIsToString = buyIsToString;
}
public String getDeletUrl() {
String url = "/Imis/servlet/RoomBuy_sl?id=delete&&RoomBuyId="+this.roomBuyId;
return "<a href="+url+">"+"删除</a>";
}
/**
* @return the buyIs
*/
public int getBuyIs() {
return BuyIs;
}
/**
* @param buyIs the buyIs to set
*/
public void setBuyIs(int buyIs) {
BuyIs = buyIs;
}
public void setBuyIs(String buyIs) {
BuyIs = Integer.parseInt(buyIs);
}
/**
* @return the buyNo
*/
public String getBuyNo() {
return BuyNo;
}
/**
* @param buyNo the buyNo to set
*/
public void setBuyNo(String buyNo) {
if(buyNo!=null)
BuyNo = buyNo.trim();
else
BuyNo="";
}
/**
* @return the checkDes
*/
public String getCheckDes() {
return CheckDes;
}
/**
* @param checkDes the checkDes to set
*/
public void setCheckDes(String checkDes) {
if(checkDes!=null)
CheckDes = checkDes.trim();
else
CheckDes = "";
}
/**
* @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 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 roomBuyAgreenFlag
*/
public int getRoomBuyAgreenFlag() {
return RoomBuyAgreenFlag;
}
/**
* @param roomBuyAgreenFlag the roomBuyAgreenFlag to set
*/
public void setRoomBuyAgreenFlag(int roomBuyAgreenFlag) {
RoomBuyAgreenFlag = roomBuyAgreenFlag;
}
public void setRoomBuyAgreenFlag(String roomBuyAgreenFlag) {
if(roomBuyAgreenFlag!=null&&!roomBuyAgreenFlag.equals(""))
RoomBuyAgreenFlag = Integer.parseInt(roomBuyAgreenFlag.trim());
else
RoomBuyAgreenFlag = -1;
}
public Date getBuyAppDate() {
return BuyAppDate;
}
public void setBuyAppDate(Date buyAppDate) {
BuyAppDate = buyAppDate;
}
public void setBuyAppDate(String buyAppDate) {
if(buyAppDate != null && (buyAppDate.equals("") != true)) {
this.BuyAppDate = Date.valueOf(buyAppDate);
}
}
public Date getRoomBuyDate() {
return RoomBuyDate;
}
public void setRoomBuyDate(Date roomBuyDate) {
RoomBuyDate = roomBuyDate;
}
public void setRoomBuyDate(String roomBuyDate) {
if(roomBuyDate != null && (roomBuyDate.equals("") != true)) {
this.RoomBuyDate = Date.valueOf(roomBuyDate);
}
}
/**
* @return the roomBuyExcuter
*/
public String getRoomBuyExcuter() {
return RoomBuyExcuter;
}
/**
* @param roomBuyExcuter the roomBuyExcuter to set
*/
public void setRoomBuyExcuter(String roomBuyExcuter) {
if(roomBuyExcuter!=null)
RoomBuyExcuter = roomBuyExcuter.trim();
else
RoomBuyExcuter="";
}
/**
* @return the roomBuyLeader
*/
public String getRoomBuyLeader() {
return RoomBuyLeader;
}
/**
* @param roomBuyLeader the roomBuyLeader to set
*/
public void setRoomBuyLeader(String roomBuyLeader) {
if(roomBuyLeader!=null)
RoomBuyLeader = roomBuyLeader.trim();
else
RoomBuyLeader = "";
}
/**
* @return the roomBuyReasion
*/
public String getRoomBuyReasion() {
return RoomBuyReasion;
}
/**
* @param roomBuyReasion the roomBuyReasion to set
*/
public void setRoomBuyReasion(String roomBuyReasion) {
if(roomBuyReasion!=null)
RoomBuyReasion = roomBuyReasion.trim();
else
RoomBuyReasion = "";
}
/**
* @return the roomBuyUser
*/
public String getRoomBuyUser() {
return RoomBuyUser;
}
/**
* @param roomBuyUser the roomBuyUser to set
*/
public void setRoomBuyUser(String roomBuyUser) {
if(roomBuyUser!=null)
RoomBuyUser = roomBuyUser.trim();
else
RoomBuyUser = "";
}
/**
* @return the roomInfo
*/
public String getRoomInfo() {
return RoomInfo;
}
/**
* @param roomInfo the roomInfo to set
*/
public void setRoomInfo(String roomInfo) {
if(roomInfo!=null)
RoomInfo = roomInfo.trim();
else
RoomInfo = "";
}
public int getRoomBuyId() {
return roomBuyId;
}
public void setRoomBuyId(int roomBuyId) {
this.roomBuyId = roomBuyId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -