Subversion Repositories SmartDukaan

Rev

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

Rev 32145 Rev 32246
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
public class ItemWisePurchaseModel {
3
public class ItemWisePurchaseModel {
4
 
4
 
5
    private int itemId;
5
    private int itemId;
6
    private int qty;
6
    private int amendedQty;
7
    private float transferPrice;
7
    private float transferPrice;
8
    private float totalValue;
8
    private float totalValue;
9
 
9
 
10
    public int getItemId() {
10
    public int getItemId() {
11
        return itemId;
11
        return itemId;
Line 13... Line 13...
13
 
13
 
14
    public void setItemId(int itemId) {
14
    public void setItemId(int itemId) {
15
        this.itemId = itemId;
15
        this.itemId = itemId;
16
    }
16
    }
17
 
17
 
-
 
18
 
18
    public int getQty() {
19
    public int getAmendedQty() {
19
        return qty;
20
        return amendedQty;
20
    }
21
    }
21
 
22
 
22
    public void setQty(int qty) {
23
    public void setAmendedQty(int amendedQty) {
23
        this.qty = qty;
24
        this.amendedQty = amendedQty;
24
    }
25
    }
25
 
26
 
26
    public float getTransferPrice() {
27
    public float getTransferPrice() {
27
        return transferPrice;
28
        return transferPrice;
28
    }
29
    }
Line 39... Line 40...
39
        this.totalValue = totalValue;
40
        this.totalValue = totalValue;
40
    }
41
    }
41
 
42
 
42
    @Override
43
    @Override
43
    public String toString() {
44
    public String toString() {
44
        return "ItemWisePurchaseModel [itemId=" + itemId + ", qty=" + qty + ", transferPrice=" + transferPrice + ", totalValue=" + totalValue + "]";
45
        return "ItemWisePurchaseModel [itemId=" + itemId + ", amendedQty=" + amendedQty + ", transferPrice=" + transferPrice + ", totalValue=" + totalValue + "]";
45
    }
46
    }
46
 
47
 
47
 
48
 
48
}
49
}