package safeluck.drive.evaluation.DB.rtktb;
|
|
import androidx.room.Entity;
|
import androidx.room.PrimaryKey;
|
|
/**
|
* MyApplication2
|
* Created by lzw on 2020/1/8. 10:53:25
|
* 邮箱:632393724@qq.com
|
* All Rights Saved! Chongqing AnYun Tech co. LTD
|
*/
|
@Entity(tableName = "rtkconfig_table")
|
public class RTKConfig {
|
|
/**
|
* ip : 192.168.10.234
|
* port : 8989
|
* province : 23
|
* city : 1
|
* model : 123
|
* sn : 13634757865
|
* imei : 460123874561
|
* phone : 13634757865
|
* password : 123456789
|
* registered : 1
|
* interval : 1
|
*/
|
|
private String ip;
|
|
private int port;
|
private int province;
|
private int city;
|
private String model;
|
private String sn;
|
private String imei;
|
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;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
public int getPort() {
|
return port;
|
}
|
|
public void setPort(int port) {
|
this.port = port;
|
}
|
|
public int getProvince() {
|
return province;
|
}
|
|
public void setProvince(int province) {
|
this.province = province;
|
}
|
|
public int getCity() {
|
return city;
|
}
|
|
public void setCity(int city) {
|
this.city = city;
|
}
|
|
public String getModel() {
|
return model;
|
}
|
|
public void setModel(String model) {
|
this.model = model;
|
}
|
|
public String getSn() {
|
return sn;
|
}
|
|
public void setSn(String sn) {
|
this.sn = sn;
|
}
|
|
public String getImei() {
|
return imei;
|
}
|
|
public void setImei(String imei) {
|
this.imei = imei;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public int getRegistered() {
|
return registered;
|
}
|
|
public void setRegistered(int registered) {
|
this.registered = registered;
|
}
|
|
public int getInterval() {
|
return interval;
|
}
|
|
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 +
|
'}';
|
}
|
|
|
}
|