blob: a05c42e8668fc60a427c2247b3b305bf1b2ea6f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL;
namespace Tango.PPC.Common.Web
{
public class UpdatedEntity
{
public UpdatedEntity()
{
}
public UpdatedEntity(IObservableEntity entity) : this()
{
Guid = entity.Guid;
LastUpdated = entity.LastUpdated;
}
public String Guid { get; set; }
public DateTime LastUpdated { get; set; }
public override string ToString()
{
return $"{Guid} | {LastUpdated}";
}
}
}
|