Subversion Repositories SmartDukaan

Rev

Rev 26522 | Rev 31860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26522 Rev 28653
Line 31... Line 31...
31
	@Column(name="id", unique=true, updatable=false)
31
	@Column(name="id", unique=true, updatable=false)
32
	@GeneratedValue(strategy = GenerationType.IDENTITY)
32
	@GeneratedValue(strategy = GenerationType.IDENTITY)
33
	private int id;
33
	private int id;
34
	
34
	
35
	@Column(name = "wallet_amount")
35
	@Column(name = "wallet_amount")
36
	private float walletAmount;
36
	private double walletAmount;
37
	
37
	
38
	@Column(name = "total_price")
38
	@Column(name = "total_price")
39
	private float totalPrice;
39
	private double totalPrice;
40
	
40
	
41
	@Column(name = "cart_status")
41
	@Column(name = "cart_status")
42
	private CartStatus cartStatus;
42
	private CartStatus cartStatus;
43
	
43
	
44
	@Column(name = "address_id")
44
	@Column(name = "address_id")
Line 63... Line 63...
63
		this.id = id;
63
		this.id = id;
64
	}
64
	}
65
 
65
 
66
	
66
	
67
 
67
 
68
	public float getWalletAmount() {
68
	public double getWalletAmount() {
69
		return walletAmount;
69
		return walletAmount;
70
	}
70
	}
71
 
71
 
72
	public void setWalletAmount(float walletAmount) {
72
	public void setWalletAmount(double walletAmount) {
73
		this.walletAmount = walletAmount;
73
		this.walletAmount = walletAmount;
74
	}
74
	}
75
 
75
 
76
	public float getTotalPrice() {
76
	public double getTotalPrice() {
77
		return totalPrice;
77
		return totalPrice;
78
	}
78
	}
79
 
79
 
80
	public void setTotalPrice(float totalPrice) {
80
	public void setTotalPrice(double totalPrice) {
81
		this.totalPrice = totalPrice;
81
		this.totalPrice = totalPrice;
82
	}
82
	}
83
 
83
 
84
	public CartStatus getCartStatus() {
84
	public CartStatus getCartStatus() {
85
		return cartStatus;
85
		return cartStatus;