View Javadoc

1   /*
2    *  
3    *  author nambi sankaran
4    *  copyright (C) 2009 nambi sankaran.
5    *
6    *  This program is free software: you can redistribute it and/or modify
7    *  it under the terms of the GNU General Public License as published by
8    *  the Free Software Foundation, either version 3 of the License, or
9    *  (at your option) any later version.
10   *
11   *  This program is distributed in the hope that it will be useful,
12   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   *  GNU General Public License for more details.
15   *
16   *  You should have received a copy of the GNU General Public License
17   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   *
19   */
20  package net.sf.emarket.account.domain;
21  
22  import java.io.Serializable;
23  import java.sql.Timestamp;
24  
25  public class CashTransfer implements Serializable{
26  
27  	private static final long serialVersionUID = 8781023104241529926L;
28  	
29  	public static final String STATUS_COMPLETED = "COMPLETED";
30  	
31  	private long transferId =0l;
32  	private String senderAcctId = null;
33  	private String receiverAcctId = null;
34  	private float amount = 0f;
35  	private Timestamp createdTime = null;
36  	private String transferStatus =null;
37  	private Timestamp timestamp = null;
38  
39  	public long getTransferId() {
40  		return transferId;
41  	}
42  	public void setTransferId(long transferId) {
43  		this.transferId = transferId;
44  	}	
45  	public String getSenderAcctId() {
46  		return senderAcctId;
47  	}
48  	public void setSenderAcctId(String senderAcctId) {
49  		this.senderAcctId = senderAcctId;
50  	}
51  	public String getReceiverAcctId() {
52  		return receiverAcctId;
53  	}
54  	public void setReceiverAcctId(String receiverAcctId) {
55  		this.receiverAcctId = receiverAcctId;
56  	}
57  	public float getAmount() {
58  		return amount;
59  	}
60  	public void setAmount(float amount) {
61  		this.amount = amount;
62  	}
63  	public Timestamp getCreatedTime() {
64  		return createdTime;
65  	}
66  	public void setCreatedTime(Timestamp createdTime) {
67  		this.createdTime = createdTime;
68  	}
69  	public String getTransferStatus() {
70  		return transferStatus;
71  	}
72  	public void setTransferStatus(String transferStatus) {
73  		this.transferStatus = transferStatus;
74  	}
75  	public Timestamp getTimestamp() {
76  		return timestamp;
77  	}
78  	public void setTimestamp(Timestamp timestamp) {
79  		this.timestamp = timestamp;
80  	}
81  
82  
83  }