aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UpdatedEntity.cs
blob: faee20678ce65c9c144ca4a940d15a7d644f26fd (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
30
31
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}";
        }
    }
}