Subversion Repositories SmartDukaan

Rev

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

package in.shop2020.hotspot.dashbaord.shared.actions;

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 manufacturerName;
        private String modelNumber;
        private String modelName;
        private String category;
        private String comments;
        private long catalogItemId;
        private String vendorItemId;
        private long featureId;
        private String featureDescription;
//      private ItemInventory itemInventory;
        private double mrp;
        private double mop;
        private double sellingPrice;
        private double weight;
        private long addedOn;
        private long startDate;
        private long retireDate;
//      private status itemStatus;
        private Map<String, String> otherInfo;

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

        public Item() {

        }

        public Item(long id, String manufacturerName, String modelNumber,
                        String modelName, String category, String comments,
                        long catalogItemId, String vendorItemId, long featureId,
                        String featureDescription, 
                        //ItemInventory itemInventory,
                        double mrp,
                        double mop, double sellingPrice, double weight, long addedOn,
                        long startDate, long retireDate, 
                        //status itemStatus,
                        Map<String, String> otherInfo) {
                this();
                this.id = id;
                this.manufacturerName = manufacturerName;
                this.modelNumber = modelNumber;
                this.modelName = modelName;
                this.category = category;
                this.comments = comments;
                this.catalogItemId = catalogItemId;
                this.vendorItemId = vendorItemId;
                this.featureId = featureId;
                this.featureDescription = featureDescription;
                //this.itemInventory = itemInventory;
                this.mrp = mrp;
                this.mop = mop;
                this.sellingPrice = sellingPrice;
                this.weight = weight;
                this.addedOn = addedOn;
                this.startDate = startDate;
                this.retireDate = retireDate;
                //this.itemStatus = itemStatus;
                this.otherInfo = otherInfo;
        }

        public long getId() {
                return id;
        }

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

        public String getManufacturerName() {
                return manufacturerName;
        }

        public void setManufacturerName(String manufacturerName) {
                this.manufacturerName = manufacturerName;
        }

        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 String getCategory() {
                return category;
        }

        public void setCategory(String 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 String getVendorItemId() {
                return vendorItemId;
        }

        public void setVendorItemId(String vendorItemId) {
                this.vendorItemId = vendorItemId;
        }

        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;
        }

}