package safeluck.drive.evaluation.DB.route;
|
|
import android.os.Parcel;
|
import android.os.Parcelable;
|
|
import androidx.room.Entity;
|
import androidx.room.PrimaryKey;
|
|
/**
|
* DriveJudge
|
* Created by lzw on 2020/9/16. 15:44:19
|
* 邮箱:632393724@qq.com
|
* All Rights Saved! Chongqing AnYun Tech co. LTD
|
*/
|
@Entity
|
public class RouteBean implements Parcelable {
|
@PrimaryKey(autoGenerate = true)
|
private int id;
|
private String routeName;
|
private int currentCollectFlag;//1-当前正在采 ,整张表唯一,只有一个线路正处于采集当中
|
|
public int getCurrentCollectFlag() {
|
return currentCollectFlag;
|
}
|
|
public void setCurrentCollectFlag(int currentCollectFlag) {
|
this.currentCollectFlag = currentCollectFlag;
|
}
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getRouteName() {
|
return routeName;
|
}
|
|
public void setRouteName(String routeName) {
|
this.routeName = routeName;
|
}
|
|
@Override
|
public int describeContents() {
|
return 0;
|
}
|
|
@Override
|
public void writeToParcel(Parcel dest, int flags) {
|
|
}
|
}
|