Subversion Repositories SmartDukaan

Rev

Rev 2427 | 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;
6759 amar.kumar 14
    double mop, dealerPrice, transferPrice, nlc;
2105 ankur.sing 15
 
2119 ankur.sing 16
    public VendorPricings() {
2105 ankur.sing 17
 
18
    }
19
 
6759 amar.kumar 20
    public VendorPricings(long vendorId, String itemKey, double mop, double dp, double tp, double nlc) {
2105 ankur.sing 21
        this.vendorId = vendorId;
22
        this.mop = mop;
23
        this.dealerPrice = dp;
24
        this.transferPrice = tp;
6759 amar.kumar 25
        this.nlc = nlc;
2105 ankur.sing 26
    }
27
 
28
    public long getVendorId() {
29
        return vendorId;
30
    }
31
    public void setVendorId(long vendorId) {
32
        this.vendorId = vendorId;
33
    }
34
    public double getMop() {
35
        return mop;
36
    }
37
    public void setMop(double mop) {
38
        this.mop = mop;
39
    }
40
    public double getDealerPrice() {
41
        return dealerPrice;
42
    }
43
    public void setDealerPrice(double dealerPrice) {
44
        this.dealerPrice = dealerPrice;
45
    }
46
    public double getTransferPrice() {
47
        return transferPrice;
48
    }
49
    public void setTransferPrice(double transferPrice) {
50
        this.transferPrice = transferPrice;
51
    }
6759 amar.kumar 52
 
53
	public double getNlc() {
54
		return nlc;
55
	}
56
 
57
	public void setNlc(double nlc) {
58
		this.nlc = nlc;
59
	}
2105 ankur.sing 60
}