Created
January 11, 2017 10:02
-
-
Save shihabmi7/9f012273f80cc5a7cde6035d329b53fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.alhikmah.taxidriver.model; | |
import io.realm.RealmObject; | |
import io.realm.annotations.Index; | |
import io.realm.annotations.PrimaryKey; | |
/** | |
* Created by Shihab on 11/27/2016. | |
*/ | |
//With this annotation we are going to hide compiler warnings | |
@SuppressWarnings("serial") | |
public class TripLive extends RealmObject { | |
@PrimaryKey | |
@Index | |
private String driver_id; | |
private String trip_id; | |
private String trip_status; | |
private String source_name; | |
private Double source_latitude; | |
private Double source_longitude; | |
private Double destination_latitude; | |
private Double destination_longitude; | |
private String destination_name; | |
private String customer_id; | |
private String customer_number; | |
private String trip_date; | |
private String basic_cab_rent; | |
private String waiting_charge; | |
private String trip_distance; | |
private String total_rent; | |
private String approximate_rent; | |
private String cab_booking_confirm; | |
private String data; | |
private String status; | |
private boolean isTripRunning; | |
private String update_driver_location; | |
private String passenger_id; | |
private Double passenger_lat; | |
private Double passenger_lng; | |
private String passenger_name; | |
private String passenger_phone; | |
public String getTrip_id() { | |
return trip_id; | |
} | |
public void setTrip_id(String trip_id) { | |
this.trip_id = trip_id; | |
} | |
public String getTrip_status() { | |
return trip_status; | |
} | |
public void setTrip_status(String trip_status) { | |
this.trip_status = trip_status; | |
} | |
public Double getSource_latitude() { | |
return source_latitude; | |
} | |
public void setSource_latitude(Double source_latitude) { | |
this.source_latitude = source_latitude; | |
} | |
public Double getSource_longitude() { | |
return source_longitude; | |
} | |
public void setSource_longitude(Double source_longitude) { | |
this.source_longitude = source_longitude; | |
} | |
public Double getDestination_latitude() { | |
return destination_latitude; | |
} | |
public void setDestination_latitude(Double destination_latitude) { | |
this.destination_latitude = destination_latitude; | |
} | |
public Double getDestination_longitude() { | |
return destination_longitude; | |
} | |
public void setDestination_longitude(Double destination_longitude) { | |
this.destination_longitude = destination_longitude; | |
} | |
public String getCustomer_id() { | |
return customer_id; | |
} | |
public void setCustomer_id(String customer_id) { | |
this.customer_id = customer_id; | |
} | |
public String getCustomer_number() { | |
return customer_number; | |
} | |
public void setCustomer_number(String customer_number) { | |
this.customer_number = customer_number; | |
} | |
public String getTrip_date() { | |
return trip_date; | |
} | |
public void setTrip_date(String trip_date) { | |
this.trip_date = trip_date; | |
} | |
public String getBasic_cab_rent() { | |
return basic_cab_rent; | |
} | |
public void setBasic_cab_rent(String basic_cab_rent) { | |
this.basic_cab_rent = basic_cab_rent; | |
} | |
public String getWaiting_charge() { | |
return waiting_charge; | |
} | |
public void setWaiting_charge(String waiting_charge) { | |
this.waiting_charge = waiting_charge; | |
} | |
public String getTrip_distance() { | |
return trip_distance; | |
} | |
public void setTrip_distance(String trip_distance) { | |
this.trip_distance = trip_distance; | |
} | |
public String getTotal_rent() { | |
return total_rent; | |
} | |
public void setTotal_rent(String total_rent) { | |
this.total_rent = total_rent; | |
} | |
public String getApproximate_rent() { | |
return approximate_rent; | |
} | |
public void setApproximate_rent(String approximate_rent) { | |
this.approximate_rent = approximate_rent; | |
} | |
public String getSource_name() { | |
return source_name; | |
} | |
public void setSource_name(String source_name) { | |
this.source_name = source_name; | |
} | |
public String getDestination_name() { | |
return destination_name; | |
} | |
public void setDestination_name(String destination_name) { | |
this.destination_name = destination_name; | |
} | |
public String getCab_booking_confirm() { | |
return cab_booking_confirm; | |
} | |
public void setCab_booking_confirm(String cab_booking_confirm) { | |
this.cab_booking_confirm = cab_booking_confirm; | |
} | |
public String getData() { | |
return data; | |
} | |
public void setData(String data) { | |
this.data = data; | |
} | |
public String getStatus() { | |
return status; | |
} | |
public void setStatus(String status) { | |
this.status = status; | |
} | |
public String getUpdate_driver_location() { | |
return update_driver_location; | |
} | |
public void setUpdate_driver_location(String update_driver_location) { | |
this.update_driver_location = update_driver_location; | |
} | |
public Double getPassenger_lat() { | |
return passenger_lat; | |
} | |
public void setPassenger_lat(Double passenger_lat) { | |
this.passenger_lat = passenger_lat; | |
} | |
public Double getPassenger_lng() { | |
return passenger_lng; | |
} | |
public void setPassenger_lng(Double passenger_lng) { | |
this.passenger_lng = passenger_lng; | |
} | |
public String getPassenger_name() { | |
return passenger_name; | |
} | |
public void setPassenger_name(String passenger_name) { | |
this.passenger_name = passenger_name; | |
} | |
public String getPassenger_id() { | |
return passenger_id; | |
} | |
public void setPassenger_id(String passenger_id) { | |
this.passenger_id = passenger_id; | |
} | |
public String getPassenger_phone() { | |
return passenger_phone; | |
} | |
public void setPassenger_phone(String passenger_phone) { | |
this.passenger_phone = passenger_phone; | |
} | |
public String getDriver_id() { | |
return driver_id; | |
} | |
public void setDriver_id(String driver_id) { | |
this.driver_id = driver_id; | |
} | |
public boolean isTripRunning() { | |
return isTripRunning; | |
} | |
public void setTripRunning(boolean tripRunning) { | |
isTripRunning = tripRunning; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment