Subversion Repositories SmartDukaan

Rev

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

Rev 27676 Rev 35312
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
public class BrandWisePartnerSaleModel {
3
public class BrandWisePartnerSaleModel {
4
 
4
 
5
	private String brand;
5
    private String brand;
6
	private long lms;
6
    private long lms;
7
	private long lmsQty;
7
    private long lmsQty;
8
	private long mtd;
8
    private long mtd;
9
	private long mtdQty;
9
    private long mtdQty;
10
	private long lmtd;
10
    private long lmtd;
11
	private long lmtdQty;
11
    private long lmtdQty;
12
	private long uamtdQty;
12
    private long uamtdQty;
13
	private long amtd;
13
    private long amtd;
14
 
14
 
15
	public BrandWisePartnerSaleModel() {
15
    public BrandWisePartnerSaleModel() {
16
		super();
16
    }
17
	}
17
 
18
 
18
    public BrandWisePartnerSaleModel(String brand,
19
	public BrandWisePartnerSaleModel(String brand, long lms, long lmsQty, long mtd, long mtdQty, long lmtd,
19
                                     Number lms,
20
			long lmtdQty) {
20
                                     Number lmsQty,
21
		super();
21
                                     Number mtd,
22
		this.brand = brand;
22
                                     Number mtdQty,
23
		this.lms = lms;
23
                                     Number lmtd,
24
		this.lmsQty = lmsQty;
24
                                     Number lmtdQty) {
25
		this.mtd = mtd;
25
 
26
		this.mtdQty = mtdQty;
26
        this.brand = brand;
27
		this.lmtd = lmtd;
27
        this.lms = lms == null ? 0 : lms.longValue();
28
		this.lmtdQty = lmtdQty;
28
        this.lmsQty = lmsQty == null ? 0 : lmsQty.longValue();
29
	}
29
        this.mtd = mtd == null ? 0 : mtd.longValue();
30
 
30
        this.mtdQty = mtdQty == null ? 0 : mtdQty.longValue();
31
	public long getUamtdQty() {
31
        this.lmtd = lmtd == null ? 0 : lmtd.longValue();
32
		return uamtdQty;
32
        this.lmtdQty = lmtdQty == null ? 0 : lmtdQty.longValue();
33
	}
33
    }
34
 
34
 
35
	public void setUamtdQty(long uamtdQty) {
35
 
36
		this.uamtdQty = uamtdQty;
36
    public long getUamtdQty() {
37
	}
37
        return uamtdQty;
38
 
38
    }
39
	public long getAmtd() {
39
 
40
		return amtd;
40
    public void setUamtdQty(long uamtdQty) {
41
	}
41
        this.uamtdQty = uamtdQty;
42
 
42
    }
43
	public void setAmtd(long amtd) {
43
 
44
		this.amtd = amtd;
44
    public long getAmtd() {
45
	}
45
        return amtd;
46
 
46
    }
47
	public long getLms() {
47
 
48
		return lms;
48
    public void setAmtd(long amtd) {
49
	}
49
        this.amtd = amtd;
50
 
50
    }
51
	public void setLms(long lms) {
51
 
52
		this.lms = lms;
52
    public long getLms() {
53
	}
53
        return lms;
54
 
54
    }
55
	public long getLmsQty() {
55
 
56
		return lmsQty;
56
    public void setLms(long lms) {
57
	}
57
        this.lms = lms;
58
 
58
    }
59
	public void setLmsQty(long lmsQty) {
59
 
60
		this.lmsQty = lmsQty;
60
    public long getLmsQty() {
61
	}
61
        return lmsQty;
62
 
62
    }
63
	public long getLmtdQty() {
63
 
64
		return lmtdQty;
64
    public void setLmsQty(long lmsQty) {
65
	}
65
        this.lmsQty = lmsQty;
66
 
66
    }
67
	public void setLmtdQty(long lmtdQty) {
67
 
68
		this.lmtdQty = lmtdQty;
68
    public long getLmtdQty() {
69
	}
69
        return lmtdQty;
70
 
70
    }
71
	public long getMtd() {
71
 
72
		return mtd;
72
    public void setLmtdQty(long lmtdQty) {
73
	}
73
        this.lmtdQty = lmtdQty;
74
 
74
    }
75
	public void setMtd(long mtd) {
75
 
76
		this.mtd = mtd;
76
    public long getMtd() {
77
	}
77
        return mtd;
78
 
78
    }
79
	public long getMtdQty() {
79
 
80
		return mtdQty;
80
    public void setMtd(long mtd) {
81
	}
81
        this.mtd = mtd;
82
 
82
    }
83
	public void setMtdQty(long mtdQty) {
83
 
84
		this.mtdQty = mtdQty;
84
    public long getMtdQty() {
85
	}
85
        return mtdQty;
86
 
86
    }
87
	public long getLmtd() {
87
 
88
		return lmtd;
88
    public void setMtdQty(long mtdQty) {
89
	}
89
        this.mtdQty = mtdQty;
90
 
90
    }
91
	public void setLmtd(long lmtd) {
91
 
92
		this.lmtd = lmtd;
92
    public long getLmtd() {
93
	}
93
        return lmtd;
94
 
94
    }
95
	public String getBrand() {
95
 
96
		return brand;
96
    public void setLmtd(long lmtd) {
97
	}
97
        this.lmtd = lmtd;
98
 
98
    }
99
	public void setBrand(String brand) {
99
 
100
		this.brand = brand;
100
    public String getBrand() {
101
	}
101
        return brand;
102
 
102
    }
103
	@Override
103
 
104
	public String toString() {
104
    public void setBrand(String brand) {
105
		return "BrandWisePartnerSaleModel [brand=" + brand + ", lms=" + lms + ", lmsQty=" + lmsQty + ", mtd=" + mtd
105
        this.brand = brand;
106
				+ ", mtdQty=" + mtdQty + ", lmtd=" + lmtd + ", lmtdQty=" + lmtdQty + ", amtd=" + amtd + "]";
106
    }
107
	}
107
 
-
 
108
    @Override
-
 
109
    public String toString() {
-
 
110
        return "BrandWisePartnerSaleModel [brand=" + brand + ", lms=" + lms + ", lmsQty=" + lmsQty + ", mtd=" + mtd
-
 
111
                + ", mtdQty=" + mtdQty + ", lmtd=" + lmtd + ", lmtdQty=" + lmtdQty + ", amtd=" + amtd + "]";
-
 
112
    }
108
 
113
 
109
}
114
}