blob: 8ccd5e7186c4a3dda51d78e1482fe955d4cc814b (
plain)
1
2
3
4
5
6
7
8
9
10using 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}";
}
}
}
|