Subversion Repositories SmartDukaan

Rev

Rev 8708 | 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 com.google.gwt.user.client.rpc.IsSerializable;

@SuppressWarnings("serial")
public class ItemInventory implements IsSerializable, Serializable {
        
        long warehouseId;
        long availability;
        long reserved;
    
    public ItemInventory() {
        
    }
    
    public ItemInventory(long warehouseId, long availability, long reserved) {
        this.warehouseId = warehouseId;
        this.availability = availability;
        this.reserved = reserved;
    }
    
    /**
         * @param warehouseId the warehouseId to set
         */
        public void setWarehouseId(long warehouseId) {
                this.warehouseId = warehouseId;
        }
        
        /**
         * @return the warehouseId
         */
        public long getWarehouseId() {
                return warehouseId;
        }
        
        /**
         * @param availability the availability to set
         */
        public void setAvailability(long availability) {
                this.availability = availability;
        }
        
        /**
         * @return the availability
         */
        public long getAvailability() {
                return availability;
        }
        
        /**
         * @param reserved the reserved to set
         */
        public void setReserved(long reserved) {
                this.reserved = reserved;
        }
        
        /**
         * @return the reserved
         */
        public long getReserved() {
                return reserved;
        }
}