package com.tofly.ghrq_route.module.uploadPhoto.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;

@Entity(nameInDb = "DB_UPLOAD_PHOTO_INFO")
@SuppressWarnings("serial")
public class UploadPhotoBean implements Serializable {
    @Id @NotNull @Unique
    private String id;
    private String lng;
    private String lat;
    private int gpsFlag;
    private String addr;
    private String picTypeId;
    private String notes;
    private String findTime;
    private String userid;
    private int state;

    public static final String UPLOAD_PHOTO_BEAN_KEY = "upload_photo_bean";

    @Generated(hash = 1265729688)
    public UploadPhotoBean(@NotNull String id, String lng, String lat, int gpsFlag,
                           String addr, String picTypeId, String notes, String findTime,
                           String userid, int state) {
        this.id = id;
        this.lng = lng;
        this.lat = lat;
        this.gpsFlag = gpsFlag;
        this.addr = addr;
        this.picTypeId = picTypeId;
        this.notes = notes;
        this.findTime = findTime;
        this.userid = userid;
        this.state = state;
    }

    @Generated(hash = 629048227)
    public UploadPhotoBean() {
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLng() {
        return this.lng;
    }

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

    public String getLat() {
        return this.lat;
    }

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

    public int getGpsFlag() {
        return this.gpsFlag;
    }

    public void setGpsFlag(int gpsFlag) {
        this.gpsFlag = gpsFlag;
    }

    public String getAddr() {
        return this.addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getPicTypeId() {
        return this.picTypeId;
    }

    public void setPicTypeId(String picTypeId) {
        this.picTypeId = picTypeId;
    }

    public String getNotes() {
        return this.notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public int getState() {
        return this.state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getFindTime() {
        return this.findTime;
    }

    public void setFindTime(String findTime) {
        this.findTime = findTime;
    }

    public String getUserid() {
        return this.userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}
