Subversion Repositories SmartDukaan

Rev

Rev 27739 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27739 Rev 27749
Line 3... Line 3...
3
public class OurPurchaseModel {
3
public class OurPurchaseModel {
4
 
4
 
5
	private String brand;
5
	private String brand;
6
	private long todayValue;
6
	private long todayValue;
7
	private long threedaysValue;
7
	private long threedaysValue;
8
	private long fifteendaysValue;
8
	private long lms;
9
	private long mtd;
9
	private long mtd;
10
	private long todayQty;
10
	private long todayQty;
11
	private long threedaysQty;
11
	private long threedaysQty;
12
	private long fifteendaysQty;
12
	private long lmsQty;
13
	private long mtdQty;
13
	private long mtdQty;
14
 
14
 
15
	public OurPurchaseModel(String brand, long todayValue, long threedaysValue, long fifteendaysValue, long mtd,
15
	public OurPurchaseModel(String brand, long todayValue, long threedaysValue, long lms, long mtd, long todayQty,
16
			long todayQty, long threedaysQty, long fifteendaysQty, long mtdQty) {
16
			long threedaysQty, long lmsQty, long mtdQty) {
17
		super();
17
		super();
18
		this.brand = brand;
18
		this.brand = brand;
19
		this.todayValue = todayValue;
19
		this.todayValue = todayValue;
20
		this.threedaysValue = threedaysValue;
20
		this.threedaysValue = threedaysValue;
21
		this.fifteendaysValue = fifteendaysValue;
21
		this.lms = lms;
22
		this.mtd = mtd;
22
		this.mtd = mtd;
23
		this.todayQty = todayQty;
23
		this.todayQty = todayQty;
24
		this.threedaysQty = threedaysQty;
24
		this.threedaysQty = threedaysQty;
25
		this.fifteendaysQty = fifteendaysQty;
25
		this.lmsQty = lmsQty;
26
		this.mtdQty = mtdQty;
26
		this.mtdQty = mtdQty;
27
	}
27
	}
28
 
28
 
29
	public OurPurchaseModel() {
29
	public OurPurchaseModel() {
30
		super();
30
		super();
31
		// TODO Auto-generated constructor stub
31
		// TODO Auto-generated constructor stub
32
	}
32
	}
33
 
33
 
34
	public long getTodayQty() {
-
 
35
		return todayQty;
-
 
36
	}
-
 
37
 
-
 
38
	public void setTodayQty(long todayQty) {
-
 
39
		this.todayQty = todayQty;
-
 
40
	}
-
 
41
 
-
 
42
	public long getThreedaysQty() {
-
 
43
		return threedaysQty;
-
 
44
	}
-
 
45
 
-
 
46
	public void setThreedaysQty(long threedaysQty) {
-
 
47
		this.threedaysQty = threedaysQty;
-
 
48
	}
-
 
49
 
-
 
50
	public long getFifteendaysQty() {
-
 
51
		return fifteendaysQty;
-
 
52
	}
-
 
53
 
-
 
54
	public void setFifteendaysQty(long fifteendaysQty) {
-
 
55
		this.fifteendaysQty = fifteendaysQty;
-
 
56
	}
-
 
57
 
-
 
58
	public long getMtdQty() {
-
 
59
		return mtdQty;
-
 
60
	}
-
 
61
 
-
 
62
	public void setMtdQty(long mtdQty) {
-
 
63
		this.mtdQty = mtdQty;
-
 
64
	}
-
 
65
 
-
 
66
	public String getBrand() {
34
	public String getBrand() {
67
		return brand;
35
		return brand;
68
	}
36
	}
69
 
37
 
70
	public void setBrand(String brand) {
38
	public void setBrand(String brand) {
Line 85... Line 53...
85
 
53
 
86
	public void setThreedaysValue(long threedaysValue) {
54
	public void setThreedaysValue(long threedaysValue) {
87
		this.threedaysValue = threedaysValue;
55
		this.threedaysValue = threedaysValue;
88
	}
56
	}
89
 
57
 
90
	public long getFifteendaysValue() {
58
	public long getLms() {
91
		return fifteendaysValue;
59
		return lms;
92
	}
60
	}
93
 
61
 
94
	public void setFifteendaysValue(long fifteendaysValue) {
62
	public void setLms(long lms) {
95
		this.fifteendaysValue = fifteendaysValue;
63
		this.lms = lms;
96
	}
64
	}
97
 
65
 
98
	public long getMtd() {
66
	public long getMtd() {
99
		return mtd;
67
		return mtd;
100
	}
68
	}
101
 
69
 
102
	public void setMtd(long mtd) {
70
	public void setMtd(long mtd) {
103
		this.mtd = mtd;
71
		this.mtd = mtd;
104
	}
72
	}
105
 
73
 
-
 
74
	public long getTodayQty() {
-
 
75
		return todayQty;
-
 
76
	}
-
 
77
 
-
 
78
	public void setTodayQty(long todayQty) {
-
 
79
		this.todayQty = todayQty;
-
 
80
	}
-
 
81
 
-
 
82
	public long getThreedaysQty() {
-
 
83
		return threedaysQty;
-
 
84
	}
-
 
85
 
-
 
86
	public void setThreedaysQty(long threedaysQty) {
-
 
87
		this.threedaysQty = threedaysQty;
-
 
88
	}
-
 
89
 
-
 
90
	public long getLmsQty() {
-
 
91
		return lmsQty;
-
 
92
	}
-
 
93
 
-
 
94
	public void setLmsQty(long lmsQty) {
-
 
95
		this.lmsQty = lmsQty;
-
 
96
	}
-
 
97
 
-
 
98
	public long getMtdQty() {
-
 
99
		return mtdQty;
-
 
100
	}
-
 
101
 
-
 
102
	public void setMtdQty(long mtdQty) {
-
 
103
		this.mtdQty = mtdQty;
-
 
104
	}
-
 
105
 
106
	@Override
106
	@Override
107
	public String toString() {
107
	public String toString() {
108
		return "OurPurchaseModel [brand=" + brand + ", todayValue=" + todayValue + ", threedaysValue=" + threedaysValue
108
		return "OurPurchaseModel [brand=" + brand + ", todayValue=" + todayValue + ", threedaysValue=" + threedaysValue
109
				+ ", fifteendaysValue=" + fifteendaysValue + ", mtd=" + mtd + ", todayQty=" + todayQty
109
				+ ", lms=" + lms + ", mtd=" + mtd + ", todayQty=" + todayQty + ", threedaysQty=" + threedaysQty
110
				+ ", threedaysQty=" + threedaysQty + ", fifteendaysQty=" + fifteendaysQty + ", mtdQty=" + mtdQty + "]";
110
				+ ", lmsQty=" + lmsQty + ", mtdQty=" + mtdQty + "]";
111
	}
111
	}
112
 
112
 
113
}
113
}