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

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

import java.io.Serializable;

/**
 * Created by Amu on 2017/10/12.
 */

@Entity(nameInDb = "DB_BUILD_HANDLE")
@SuppressWarnings("serial")
public class BuildHandleDataBean implements Serializable{
    /**
     * build_id : 0B32DCAB5FD4425BA1368B29CE29FC29
     * build_start_date : 2017-10-12 16:26:36
     * build_end_date : null
     * lat : 29.576427
     * lng : 106.517087
     */

    @Id @NotNull @Unique
    private String build_id;
    private String build_start_date;
    private String build_end_date;
    private double lat;
    private double lng;
    private int ispast = 0;

    @Generated(hash = 233606428)
    public BuildHandleDataBean(@NotNull String build_id, String build_start_date,
            String build_end_date, double lat, double lng, int ispast) {
        this.build_id = build_id;
        this.build_start_date = build_start_date;
        this.build_end_date = build_end_date;
        this.lat = lat;
        this.lng = lng;
        this.ispast = ispast;
    }

    @Generated(hash = 1596437086)
    public BuildHandleDataBean() {
    }

    public String getBuild_id() {
        return build_id;
    }

    public void setBuild_id(String build_id) {
        this.build_id = build_id;
    }

    public String getBuild_start_date() {
        return build_start_date;
    }

    public void setBuild_start_date(String build_start_date) {
        this.build_start_date = build_start_date;
    }

    public String getBuild_end_date() {
        return build_end_date;
    }

    public void setBuild_end_date(String build_end_date) {
        this.build_end_date = build_end_date;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public int getIspast() {
        return ispast;
    }

    public void setIspast(int ispast) {
        this.ispast = ispast;
    }
}
