Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
2105 ankur.sing 1
package in.shop2020.catalog.dashboard.shared;
2
 
3
import java.io.Serializable;
4
 
5
import com.google.gwt.user.client.rpc.IsSerializable;
6
 
2427 ankur.sing 7
/**
8
 * Vendor prices bean to store mop, dealer price and transfer price for a vendor.
9
 *
10
 */
11
@SuppressWarnings("serial")
2119 ankur.sing 12
public class VendorPricings implements IsSerializable, Serializable {
2105 ankur.sing 13
    long vendorId;
14
    double mop, dealerPrice, transferPrice;
15
 
2119 ankur.sing 16
    public VendorPricings() {
2105 ankur.sing 17
 
18
    }
19
 
2119 ankur.sing 20
    public VendorPricings(long vendorId, String itemKey, double mop, double dp, double tp) {
2105 ankur.sing 21
        this.vendorId = vendorId;
22
        this.mop = mop;
23
        this.dealerPrice = dp;
24
        this.transferPrice = tp;
25
    }
26
 
27
    public long getVendorId() {
28
        return vendorId;
29
    }
30
    public void setVendorId(long vendorId) {
31
        this.vendorId = vendorId;
32
    }
33
    public double getMop() {
34
        return mop;
35
    }
36
    public void setMop(double mop) {
37
        this.mop = mop;
38
    }
39
    public double getDealerPrice() {
40
        return dealerPrice;
41
    }
42
    public void setDealerPrice(double dealerPrice) {
43
        this.dealerPrice = dealerPrice;
44
    }
45
    public double getTransferPrice() {
46
        return transferPrice;
47
    }
48
    public void setTransferPrice(double transferPrice) {
49
        this.transferPrice = transferPrice;
50
    }
51
}