Subversion Repositories SmartDukaan

Rev

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

package in.shop2020.catalog.dashboard.shared;

import java.io.Serializable;
import java.util.Map;

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

public class Item implements IsSerializable, Serializable {

    private long id;
    private String productGroup;
    private String brand;
    private String modelNumber;
    private String modelName;
    private String color;
    private long category;
    private String comments;
    private long catalogItemId;
    private long featureId;
    private String featureDescription;
//  private ItemInventory itemInventory;
    private double mrp;
    private double mop;
    private double sellingPrice;
    private double dealerPrice;
    private double weight;
    private long addedOn;
    private long startDate;
    private long retireDate;
    private long updatedOn;
//  private status itemStatus;
    private Map<String, String> otherInfo;
    private String bestDealsText;
    private double bestDealsValue;

    /**
     * 
     */
    private static final long serialVersionUID = -2982668732181655698L;

    public Item() {

    }

    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
            long category, String comments,
            long catalogItemId, long featureId,
            String featureDescription, 
            //ItemInventory itemInventory,
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
            long addedOn, long startDate, long retireDate, long updatedOn,
            //status itemStatus,
            Map<String, String> otherInfo,
            String bestDealsText, double bestDealsValue) {
        this();
        this.id = id;
        this.setProductGroup(productGroup);
        this.brand = brand;
        this.modelNumber = modelNumber;
        this.modelName = modelName;
        this.color = color;
        this.category = category;
        this.comments = comments;
        this.catalogItemId = catalogItemId;
        this.featureId = featureId;
        this.featureDescription = featureDescription;
        //this.itemInventory = itemInventory;
        this.mrp = mrp;
        this.mop = mop;
        this.sellingPrice = sellingPrice;
        this.dealerPrice = dealerPrice;
        this.weight = weight;
        this.addedOn = addedOn;
        this.startDate = startDate;
        this.retireDate = retireDate;
        this.updatedOn = updatedOn;
        //this.itemStatus = itemStatus;
        this.otherInfo = otherInfo;
        this.bestDealsText = bestDealsText;
        this.bestDealsValue = bestDealsValue;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setProductGroup(String productGroup) {
        this.productGroup = productGroup;
    }

    public String getProductGroup() {
        return productGroup;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public long getCategory() {
        return category;
    }

    public void setCategory(long category) {
        this.category = category;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public long getCatalogItemId() {
        return catalogItemId;
    }

    public void setCatalogItemId(long catalogItemId) {
        this.catalogItemId = catalogItemId;
    }

    public long getFeatureId() {
        return featureId;
    }

    public void setFeatureId(long featureId) {
        this.featureId = featureId;
    }

    public String getFeatureDescription() {
        return featureDescription;
    }

    public void setFeatureDescription(String featureDescription) {
        this.featureDescription = featureDescription;
    }

    public double getMrp() {
        return mrp;
    }

    public void setMrp(double mrp) {
        this.mrp = mrp;
    }

    public double getMop() {
        return mop;
    }

    public void setMop(double mop) {
        this.mop = mop;
    }

    public double getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(double sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public long getAddedOn() {
        return addedOn;
    }

    public void setAddedOn(long addedOn) {
        this.addedOn = addedOn;
    }

    public long getStartDate() {
        return startDate;
    }

    public void setStartDate(long startDate) {
        this.startDate = startDate;
    }

    public long getRetireDate() {
        return retireDate;
    }

    public void setRetireDate(long retireDate) {
        this.retireDate = retireDate;
    }

    public Map<String, String> getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(Map<String, String> otherInfo) {
        this.otherInfo = otherInfo;
    }

    public void setUpdatedOn(long updatedOn) {
        this.updatedOn = updatedOn;
    }

    public long getUpdatedOn() {
        return updatedOn;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setDealerPrice(double dealerPrice) {
        this.dealerPrice = dealerPrice;
    }

    public double getDealerPrice() {
        return dealerPrice;
    }

    public void setBestDealsText(String bestDealsText) {
        this.bestDealsText = bestDealsText;
    }

    public String getBestDealsText() {
        return bestDealsText;
    }

    public void setBestDealsValue(double bestDealsValue) {
        this.bestDealsValue = bestDealsValue;
    }

    public double getBestDealsValue() {
        return bestDealsValue;
    }

}