Полная реализация синхронизации

This commit is contained in:
RoyceDa
2026-02-15 18:14:42 +02:00
parent fe5bf2bd04
commit 7dc94678ba
15 changed files with 333 additions and 32 deletions

View File

@@ -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) {