mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 11:12:44 +00:00
19 lines
553 B
C#
19 lines
553 B
C#
using System.Collections.Generic;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Notesnook.API.Models
|
|
{
|
|
public class SyncDevice
|
|
{
|
|
[BsonId]
|
|
public ObjectId Id { get; set; }
|
|
|
|
public required string UserId { get; set; }
|
|
public required string DeviceId { get; set; }
|
|
public required long LastAccessTime { get; set; }
|
|
public required bool IsSyncReset { get; set; }
|
|
public string? AppVersion { get; set; }
|
|
public string? DatabaseVersion { get; set; }
|
|
}
|
|
} |