package com.tofly.ghrq_route.module.gps.domain;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by lihualong on 2017/9/18.
 */
@Entity(nameInDb = "DB_SIGN_LOGCATION_GPS")
public class LocationGPSDataBean {
    @Id(autoincrement = true)
    private Long id;
    private double longitude;
    private double latitude;
//    yyyy-MM-dd HH_mm_ss
    private String date;
    private String gps_time;
//    分段信息
    private long section;
//    yyyy_MM_dd
    private String day;

    private int isValid = 1;            //0:漂移点(精度>200) 1：非漂移的点 2:该点的速度/距离需要重新计算
    private int state = -1;            // 默认-1 。 0：该点没有计划点到位 1：有计划的点到位
    
    @Generated(hash = 1991859751)
    public LocationGPSDataBean(Long id, double longitude, double latitude,
            String date, String gps_time, long section, String day, int isValid,
            int state) {
        this.id = id;
        this.longitude = longitude;
        this.latitude = latitude;
        this.date = date;
        this.gps_time = gps_time;
        this.section = section;
        this.day = day;
        this.isValid = isValid;
        this.state = state;
    }
    @Generated(hash = 514178527)
    public LocationGPSDataBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public double getLongitude() {
        return this.longitude;
    }
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
    public double getLatitude() {
        return this.latitude;
    }
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public long getSection() {
        return this.section;
    }
    public void setSection(long section) {
        this.section = section;
    }
    public String getDay() {
        return this.day;
    }
    public void setDay(String day) {
        this.day = day;
    }
    public String getGps_time() {
        return this.gps_time;
    }
    public void setGps_time(String gps_time) {
        this.gps_time = gps_time;
    }
    public int getIsValid() {
        return this.isValid;
    }
    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }
    public int getState() {
        return this.state;
    }
    public void setState(int state) {
        this.state = state;
    }
  


}
