Полная реализация синхронизации
This commit is contained in:
@@ -32,8 +32,8 @@ public class Device extends CreateUpdateEntity {
|
||||
/**
|
||||
* Время завершения сессии устройства
|
||||
*/
|
||||
@Column(name = "leaveTime", nullable = true, columnDefinition = "bigint default 0")
|
||||
private Long leaveTime;
|
||||
@Column(name = "syncTime", nullable = true, columnDefinition = "bigint default 0")
|
||||
private Long syncTime;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -55,12 +55,12 @@ public class Device extends CreateUpdateEntity {
|
||||
return deviceOs;
|
||||
}
|
||||
|
||||
public Long getLeaveTime() {
|
||||
return leaveTime;
|
||||
public Long getSyncTime() {
|
||||
return syncTime;
|
||||
}
|
||||
|
||||
public void setLeaveTime(Long leaveTime) {
|
||||
this.leaveTime = leaveTime;
|
||||
public void setSyncTime(Long syncTime) {
|
||||
this.syncTime = syncTime;
|
||||
}
|
||||
|
||||
public void setPublicKey(String publicKey) {
|
||||
|
||||
Reference in New Issue
Block a user