Subversion Repositories SmartDukaan

Rev

Rev 21602 | Rev 21924 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21716 ashik.ali 1
package com.spice.profitmandi.dao.entity.transaction;
21552 ashik.ali 2
 
3
import javax.persistence.Entity;
4
import javax.persistence.GeneratedValue;
5
import javax.persistence.GenerationType;
6
import javax.persistence.Id;
7
import javax.persistence.Table;
8
 
9
@Entity
10
@Table(name="transaction.userwallet",schema="transaction")
11
public class UserWallet{
12
	/**
13
	 * 
14
	 */
15
	@Id
16
	@GeneratedValue(strategy=GenerationType.IDENTITY)
17
	private int id;
18
	private int userId;
19
	private int amount;
20
	private int refundable_amount;
21
 
22
	public int getId() {
23
		return id;
24
	}
25
	public void setId(int id) {
26
		this.id = id;
27
	}
28
	public int getUserId() {
29
		return userId;
30
	}
31
	public void setUserId(int userId) {
32
		this.userId = userId;
33
	}
34
	public int getAmount() {
35
		return amount;
36
	}
37
	public void setAmount(int amount) {
38
		this.amount = amount;
39
	}
40
	public int getRefundable_amount() {
41
		return refundable_amount;
42
	}
43
	public void setRefundable_amount(int refundable_amount) {
44
		this.refundable_amount = refundable_amount;
45
	}
21602 ashik.ali 46
	@Override
47
	public String toString() {
48
		return "UserWallet [id=" + id + ", userId=" + userId + ", amount=" + amount + ", refundable_amount="
49
				+ refundable_amount + "]";
50
	}
51
 
52
 
21552 ashik.ali 53
}