Subversion Repositories SmartDukaan

Rev

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

Rev 22579 Rev 23821
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
3
public class PriceModel {
3
public class PriceModel {
4
	private boolean mop;
4
	private boolean mop;
5
	private float price;
5
	private float price;
-
 
6
	private float purchasePrice;
-
 
7
	
-
 
8
	
-
 
9
	public float getPurchasePrice() {
-
 
10
		return purchasePrice;
-
 
11
	}
-
 
12
	public void setPurchasePrice(float purchasePrice) {
-
 
13
		this.purchasePrice = purchasePrice;
-
 
14
	}
6
	private float maxDiscountAmount;
15
	private float maxDiscountAmount;
7
	
16
	
8
	public boolean isMop() {
17
	public boolean isMop() {
9
		return mop;
18
		return mop;
10
	}
19
	}
Line 49... Line 58...
49
			return false;
58
			return false;
50
		return true;
59
		return true;
51
	}
60
	}
52
	@Override
61
	@Override
53
	public String toString() {
62
	public String toString() {
54
		return "PriceModel [mop=" + mop + ", price=" + price + "maxDiscountAmount=" +maxDiscountAmount + "]";
63
		return "PriceModel [mop=" + mop + ", price=" + price + ", purchasePrice=" + purchasePrice
-
 
64
				+ ", maxDiscountAmount=" + maxDiscountAmount + "]";
55
	}
65
	}
56
	
66
	
57
}
67
}