package io.oasp.gastronomy.restaurant.ridesharing.requestmanagement.logic.api.to;

import java.util.Date;

import io.oasp.gastronomy.restaurant.ridesharing.requestmanagement.common.api.Request;
import io.oasp.module.basic.common.api.to.AbstractEto;

public class RequestEto extends AbstractEto implements Request {

  private long userId;

  private long fromLocation;

  private long toLocation;

  private Date earliestDepartureTime;

  private Date latestDepartureTime;

  private int numberOfPlaces;

  private String luggageSpace;

  private long rsOfferIdMapped;

  /**
   * The constructor.
   */
  public RequestEto() {
    super();
  }

  @Override
  public void setUserId(long userId) {

    this.userId = userId;
  }

  @Override
  public void setFromLocation(long fromLocation) {

    this.fromLocation = fromLocation;
  }

  @Override
  public void setToLocation(long toLocation) {

    this.toLocation = toLocation;
  }

  @Override
  public void setEarliestDepartureTime(Date earliestDepartureTime) {

    this.earliestDepartureTime = earliestDepartureTime;
  }

  @Override
  public void setLatestDepartureTime(Date latestDepartureTime) {

    this.latestDepartureTime = latestDepartureTime;
  }

  @Override
  public void setNumberOfPlaces(int numberOfPlaces) {

    this.numberOfPlaces = numberOfPlaces;
  }

  @Override
  public void setLuggageSpace(String luggageSpace) {

    this.luggageSpace = luggageSpace;
  }

  @Override
  public void setRSOfferIdMapped(long rOfferIdMapped) {

    this.rsOfferIdMapped = this.rsOfferIdMapped;
  }

  @Override
  public long getUserId() {

    return this.userId;
  }

  @Override
  public long getFromLocation() {

    return this.fromLocation;
  }

  @Override
  public long getToLocation() {

    return this.toLocation;
  }

  @Override
  public Date getEarliestDepartureTime() {

    return this.earliestDepartureTime;
  }

  @Override
  public Date getLatestDepartureTime() {

    return this.latestDepartureTime;
  }

  @Override
  public int getNumberOfPlaces() {

    return this.numberOfPlaces;
  }

  @Override
  public String getLuggageSpace() {

    return this.luggageSpace;
  }

  @Override
  public long getRSOfferIdMapped() {

    return this.rsOfferIdMapped;
  }
}

@@ -1480,16 +1480,17 @@
 d(long r
+s
 OfferIdM
@@ -1526,21 +1526,16 @@
 apped = 
-this.
 rsOfferI

fix setRSOfferIdMapped constructor of RequestEto