trade.java

来自「基于B/S模式的网上一行系统」· Java 代码 · 共 113 行

JAVA
113
字号
/*
 * 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;
	}
}

⌨️ 快捷键说明

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