Subversion Repositories SmartDukaan

Rev

Rev 33172 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33172 tejus.loha 1
package com.spice.profitmandi.common.model;
2
 
3
public class BulkOrderModel {
33213 tejus.loha 4
    private int rowIndex;
5
    private String partnerName;
6
    private String description;
7
    private int fofoId;
8
    private int itemId;
9
    private double itemPrice;
10
    private int quantity;
33172 tejus.loha 11
 
12
    public BulkOrderModel() {
13
    }
14
 
33213 tejus.loha 15
    public BulkOrderModel(int rowIndex, String name, String discription, int fofoId, int itemId, double itemPrice, int quantity) {
33172 tejus.loha 16
        this.rowIndex = rowIndex;
33213 tejus.loha 17
        this.partnerName = name;
33172 tejus.loha 18
        this.description = discription;
19
        this.fofoId = fofoId;
20
        this.itemId = itemId;
33213 tejus.loha 21
        this.itemPrice = itemPrice;
33172 tejus.loha 22
        this.quantity = quantity;
23
    }
24
 
25
    public int getRowIndex() {
26
        return rowIndex;
27
    }
28
 
29
    public void setRowIndex(int rowIndex) {
30
        this.rowIndex = rowIndex;
31
    }
32
 
33213 tejus.loha 33
    public String getPartnerName() {
34
        return partnerName;
33172 tejus.loha 35
    }
36
 
33213 tejus.loha 37
    public void setPartnerName(String partnerName) {
38
        this.partnerName = partnerName;
33172 tejus.loha 39
    }
40
 
41
    public String getDescription() {
42
        return description;
43
    }
44
 
45
    public void setDescription(String description) {
46
        this.description = description;
47
    }
48
 
49
    public int getFofoId() {
50
        return fofoId;
51
    }
52
 
53
    public void setFofoId(int fofoId) {
54
        this.fofoId = fofoId;
55
    }
56
 
57
    public int getItemId() {
58
        return itemId;
59
    }
60
 
61
    public void setItemId(int itemId) {
62
        this.itemId = itemId;
63
    }
64
 
65
    public int getQuantity() {
66
        return quantity;
67
    }
68
 
69
    public void setQuantity(int quantity) {
70
        this.quantity = quantity;
71
    }
72
 
33213 tejus.loha 73
    public double getItemPrice() {
74
        return itemPrice;
75
    }
76
 
77
    public void setItemPrice(double itemPrice) {
78
        this.itemPrice = itemPrice;
79
    }
80
 
33172 tejus.loha 81
    @Override
82
    public String toString() {
83
        return "BulkOrder{" +
33213 tejus.loha 84
                "name='" + partnerName + '\'' +
33172 tejus.loha 85
                ", discription='" + description + '\'' +
86
                ", fofoId=" + fofoId +
87
                ", itemId=" + itemId +
88
                ", quantity=" + quantity +
89
                '}';
90
    }
91
}