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}";
}
}
}