📄 materialbuybean.java
字号:
/**
*
*/
package imis_mate.bean;
import java.io.Serializable;
import java.sql.Date;
/**
* @author Administrator
*
*/
public class MaterialBuyBean implements Serializable {
private String buyNo;
private String payType;
private double rePay;
private double acPay;
private String inDate;
private int buyDep;
private String buyBy;
private int applyDep;
private String applyBy;
private int useDep;
private String useBy;
private String buyFor;
private int supplyNo;
private String perBy;
private String reMark;
/**
* @return the acPay
*/
public double getAcPay() {
return acPay;
}
/**
* @param acPay the acPay to set
*/
public void setAcPay(double acPay) {
this.acPay = acPay;
}
public void setAcPay(String acPay) {
//重载set方法
if(acPay != null && acPay.equals("") != true) {
this.acPay = Double.valueOf(acPay.trim());
}
}
/**
* @return the applyBy
*/
public String getApplyBy() {
return applyBy;
}
/**
* @param applyBy the applyBy to set
*/
public void setApplyBy(String applyBy) {
if(applyBy != null) {
this.applyBy = applyBy.trim();
}
}
/**
* @return the applyDep
*/
public int getApplyDep() {
return applyDep;
}
/**
* @param applyDep the applyDep to set
*/
public void setApplyDep(int applyDep) {
this.applyDep = applyDep;
}
public void setApplyDep(String applyDep) {
//重载set
if(applyDep != null && applyDep.equals("") != true) {
this.applyDep = Integer.valueOf(applyDep.trim());
}
}
/**
* @return the buyBy
*/
public String getBuyBy() {
return buyBy;
}
/**
* @param buyBy the buyBy to set
*/
public void setBuyBy(String buyBy) {
if(buyBy != null) {
this.buyBy = buyBy;
}
}
/**
* @return the buyDep
*/
public int getBuyDep() {
return buyDep;
}
/**
* @param buyDep the buyDep to set
*/
public void setBuyDep(int buyDep) {
this.buyDep = buyDep;
}
public void setBuyDep(String buyDep) {
//重载set
if(buyDep != null && buyDep.equals("") != true) {
this.buyDep = Integer.valueOf(buyDep.trim());
}
}
/**
* @return the buyFor
*/
public String getBuyFor() {
return buyFor;
}
/**
* @param buyFor the buyFor to set
*/
public void setBuyFor(String buyFor) {
if(buyFor != null) {
this.buyFor = buyFor.trim();
}
}
/**
* @return the buyNo
*/
public String getBuyNo() {
return buyNo;
}
/**
* @param buyNo the buyNo to set
*/
public void setBuyNo(String buyNo) {
if(buyNo != null) {
this.buyNo = buyNo.trim();
}
}
/**
* @return the inDate
*/
public String getInDate() {
return inDate;
}
/**
* @param inDate the inDate to set
*/
public void setInDate(String inDate) {
if(inDate != null) {
this.inDate = inDate.trim();
}
}
/**
* @return the payType
*/
public String getPayType() {
return payType;
}
/**
* @param payType the payType to set
*/
public void setPayType(String payType) {
if(payType != null) {
this.payType = payType.trim();
}
}
/**
* @return the perBy
*/
public String getPerBy() {
return perBy;
}
/**
* @param perBy the perBy to set
*/
public void setPerBy(String perBy) {
if(perBy != null) {
this.perBy = perBy.trim();
}
}
/**
* @return the reMark
*/
public String getReMark() {
return reMark;
}
/**
* @param reMark the reMark to set
*/
public void setReMark(String reMark) {
if(reMark != null) {
this.reMark = reMark.trim();
}
}
/**
* @return the rePay
*/
public double getRePay() {
return rePay;
}
/**
* @param rePay the rePay to set
*/
public void setRePay(double rePay) {
this.rePay = rePay;
}
public void setRePay(String rePay) {
//重载set
if(rePay != null && rePay.equals("") != true) {
this.rePay = Double.valueOf(rePay.trim());
}
}
/**
* @return the supplyNo
*/
public int getSupplyNo() {
return supplyNo;
}
/**
* @param supplyNo the supplyNo to set
*/
public void setSupplyNo(int supplyNo) {
this.supplyNo = supplyNo;
}
public void setSupplyNo(String supplyNo) {
//重载set
if(supplyNo != null && supplyNo.equals("") != true) {
this.supplyNo = Integer.valueOf(supplyNo.trim());
}
}
/**
* @return the useBy
*/
public String getUseBy() {
return useBy;
}
/**
* @param useBy the useBy to set
*/
public void setUseBy(String useBy) {
if(useBy != null) {
this.useBy = useBy.trim();
}
}
/**
* @return the useDep
*/
public int getUseDep() {
return useDep;
}
/**
* @param useDep the useDep to set
*/
public void setUseDep(int useDep) {
this.useDep = useDep;
}
public void setUseDep(String useDep) {
if(useDep != null && useDep.equals("") != true) {
this.useDep = Integer.valueOf(useDep.trim());
}
}
public MaterialBuyBean() {
// TODO Auto-generated constructor stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -