【Java开源代码栏目提醒】:网学会员为广大网友收集整理了,Trade.java,希望对大家有所帮助!
/*
* Created on 2005-7-24
*
*/
package banksystem.PO;
/**
* @author 曲本盛
*
* TODO Struts 项目实践
*/
public class Trade {
private String tradeCode = null;
private String accountID = null;
private String transferAccountID = null;
private String type = null;
private Double money = new Double(0);
private String tradeDate = null;
public Trade(){}
/**
* @param tradeCode
* @param accountID
* @param transferAccountID
* @param type
* @param money
* @param tradeDate
*/
public Trade(String tradeCode, String accountID, String transferAccountID,
String type, Double money, String tradeDate) {
super();
this.tradeCode = tradeCode;
this.accountID = accountID;
this.transferAccountID = transferAccountID;
this.type = type;
this.money = money;
this.tradeDate = tradeDate;
}
/**
* @return Returns the accountID.
*/
public String getAccountID() {
return accountID;
}
/**
* @param accountID The accountID to set.
*/
public void setAccountID(String accountID) {
this.accountID = accountID;
}
/**
* @return Returns the money.
*/
public Double getMoney() {
return money;
}
/**
* @param money The money to set.
*/
public void setMoney(Double money) {
this.money = money;
}
/**
* @return Returns the tradeCode.
*/
public String getTradeCode() {
return tradeCode;
}
/**
* @param tradeCode The tradeCode to set.
*/
public void setTradeCode(String tradeCode) {
this.tradeCode = tradeCode;
}
/**
* @return Returns the tradeDate.
*/
public String getTradeDate() {
return tradeDate;
}
/**
* @param tradeDate The tradeDate to set.
*/
public void setTradeDate(String tradeDate) {
this.tradeDate = tradeDate;
}
/**
* @return Returns the transferAccountID.
*/
public String getTransferAccountID() {
return transferAccountID;
}
/**
* @param transferAccountID The transferAccountID to set.
*/
public void setTransferAccountID(String transferAccountID) {
this.transferAccountID = transferAccountID;
}
/**
* @return Returns the type.
*/
public String getType() {
return type;
}
/**
* @param type The type to set.
*/
public void setType(String type) {
this.type = type;
}
}