Subversion Repositories SmartDukaan

Rev

Rev 306 | Blame | Last modification | View Log | RSS feed

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

import net.customware.gwt.dispatch.shared.Action;

public class AllOrderListRequest implements Action<AllOrderListResponse>{

        /**
         * 
         */
        private static final long serialVersionUID = 9183440277325008910L;
        
        private OrderType type;
        
        private long warehouseId;

        @SuppressWarnings("unused")
        private AllOrderListRequest(){}
        
        public AllOrderListRequest(OrderType type, long warehouseId){
                this.type = type;
                this.warehouseId = warehouseId;
        }
        
        public OrderType getType(){
                return type;
        }

        public void setWarehouseId(long warehouseId) {
                this.warehouseId = warehouseId;
        }

        public long getWarehouseId() {
                return warehouseId;
        }

}