yy1717
2020-01-09 6ecba06488059ca4bdc179f18648f161c0e7e43f
app/src/main/java/safeluck/drive/evaluation/DB/rtktb/RTKConfig.java
File was renamed from app/src/main/java/safeluck/drive/evaluation/bean/RTKConfig.java
@@ -1,4 +1,7 @@
package safeluck.drive.evaluation.bean;
package safeluck.drive.evaluation.DB.rtktb;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
/**
 * MyApplication2
@@ -6,6 +9,7 @@
 * 邮箱:632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
@Entity(tableName = "rtkconfig_table")
public class RTKConfig {
    /**
@@ -23,6 +27,7 @@
     */
    private String ip;
    private int port;
    private int province;
    private int city;
@@ -32,7 +37,19 @@
    private String phone;
    private String password;
    private int registered;
    @PrimaryKey
    private int _id;
    public int get_id() {
        return _id;
    }
    public void set_id(int _id) {
        this._id = _id;
    }
    private int interval;
    public String getIp() {
        return ip;
@@ -121,4 +138,23 @@
    public void setInterval(int interval) {
        this.interval = interval;
    }
    @Override
    public String toString() {
        return "RTKConfig{" +
                "ip='" + ip + '\'' +
                ", port=" + port +
                ", province=" + province +
                ", city=" + city +
                ", model='" + model + '\'' +
                ", sn='" + sn + '\'' +
                ", imei='" + imei + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", registered=" + registered +
                ", interval=" + interval +
                '}';
    }
}