blob: c58e3ab285898781ac8d7f8a8a646daf6679481a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.DataStore.Remote
{
public class RemoteDataStoreItem : IDataStoreItem
{
public string Guid { get; set; }
public string Key { get; set; }
public DataType Type { get; set; }
public object Value { get; set; }
public DateTime Date { get; set; }
public bool IsSynchronized { get; set; }
public RemoteDataStoreItem()
{
Guid = System.Guid.NewGuid().ToString();
Date = DateTime.UtcNow;
}
public override string ToString()
{
return DataStoreHelper.FormatDataStoreItem(this);
}
}
}
|