Subversion Repositories SmartDukaan

Rev

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

Rev 33172 Rev 33213
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
3
public class BulkOrderModel {
3
public class BulkOrderModel {
4
    int rowIndex;
4
    private int rowIndex;
5
    String name;
5
    private String partnerName;
6
    String description;
6
    private String description;
7
    int fofoId;
7
    private int fofoId;
8
    int itemId;
8
    private int itemId;
-
 
9
    private double itemPrice;
9
    int quantity;
10
    private int quantity;
10
 
11
 
11
    public BulkOrderModel() {
12
    public BulkOrderModel() {
12
    }
13
    }
13
 
14
 
14
    public BulkOrderModel(int rowIndex, String name, String discription, int fofoId, int itemId, int quantity) {
15
    public BulkOrderModel(int rowIndex, String name, String discription, int fofoId, int itemId, double itemPrice, int quantity) {
15
        this.rowIndex = rowIndex;
16
        this.rowIndex = rowIndex;
16
        this.name = name;
17
        this.partnerName = name;
17
        this.description = discription;
18
        this.description = discription;
18
        this.fofoId = fofoId;
19
        this.fofoId = fofoId;
19
        this.itemId = itemId;
20
        this.itemId = itemId;
-
 
21
        this.itemPrice = itemPrice;
20
        this.quantity = quantity;
22
        this.quantity = quantity;
21
    }
23
    }
22
 
24
 
23
    public int getRowIndex() {
25
    public int getRowIndex() {
24
        return rowIndex;
26
        return rowIndex;
Line 26... Line 28...
26
 
28
 
27
    public void setRowIndex(int rowIndex) {
29
    public void setRowIndex(int rowIndex) {
28
        this.rowIndex = rowIndex;
30
        this.rowIndex = rowIndex;
29
    }
31
    }
30
 
32
 
31
    public String getName() {
33
    public String getPartnerName() {
32
        return name;
34
        return partnerName;
33
    }
35
    }
34
 
36
 
35
    public void setName(String name) {
37
    public void setPartnerName(String partnerName) {
36
        this.name = name;
38
        this.partnerName = partnerName;
37
    }
39
    }
38
 
40
 
39
    public String getDescription() {
41
    public String getDescription() {
40
        return description;
42
        return description;
41
    }
43
    }
Line 66... Line 68...
66
 
68
 
67
    public void setQuantity(int quantity) {
69
    public void setQuantity(int quantity) {
68
        this.quantity = quantity;
70
        this.quantity = quantity;
69
    }
71
    }
70
 
72
 
-
 
73
    public double getItemPrice() {
-
 
74
        return itemPrice;
-
 
75
    }
-
 
76
 
-
 
77
    public void setItemPrice(double itemPrice) {
-
 
78
        this.itemPrice = itemPrice;
-
 
79
    }
-
 
80
 
71
    @Override
81
    @Override
72
    public String toString() {
82
    public String toString() {
73
        return "BulkOrder{" +
83
        return "BulkOrder{" +
74
                "name='" + name + '\'' +
84
                "name='" + partnerName + '\'' +
75
                ", discription='" + description + '\'' +
85
                ", discription='" + description + '\'' +
76
                ", fofoId=" + fofoId +
86
                ", fofoId=" + fofoId +
77
                ", itemId=" + itemId +
87
                ", itemId=" + itemId +
78
                ", quantity=" + quantity +
88
                ", quantity=" + quantity +
79
                '}';
89
                '}';