Subversion Repositories SmartDukaan

Rev

Rev 2427 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package in.shop2020.catalog.dashboard.shared;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Vendor prices bean to store mop, dealer price and transfer price for a vendor.
 *
 */
@SuppressWarnings("serial")
public class VendorPricings implements IsSerializable, Serializable {
    long vendorId;
    double mop, dealerPrice, transferPrice, nlc;
    
    public VendorPricings() {
        
    }
    
    public VendorPricings(long vendorId, String itemKey, double mop, double dp, double tp, double nlc) {
        this.vendorId = vendorId;
        this.mop = mop;
        this.dealerPrice = dp;
        this.transferPrice = tp;
        this.nlc = nlc;
    }
    
    public long getVendorId() {
        return vendorId;
    }
    public void setVendorId(long vendorId) {
        this.vendorId = vendorId;
    }
    public double getMop() {
        return mop;
    }
    public void setMop(double mop) {
        this.mop = mop;
    }
    public double getDealerPrice() {
        return dealerPrice;
    }
    public void setDealerPrice(double dealerPrice) {
        this.dealerPrice = dealerPrice;
    }
    public double getTransferPrice() {
        return transferPrice;
    }
    public void setTransferPrice(double transferPrice) {
        this.transferPrice = transferPrice;
    }

        public double getNlc() {
                return nlc;
        }

        public void setNlc(double nlc) {
                this.nlc = nlc;
        }
}