You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Infrastructure/Domain/EntityBase.cs

17 lines
409 B

using System;
namespace Infrastructure.Domain
{
public class EntityBase<TKey>
{
public TKey Id { get; set; }
public DateTimeOffset Created { get; set; }
public DateTimeOffset? Modified { get; set; }
public DateTimeOffset? Deleted { get; set; }
public override string ToString()
{
return $"{ GetType().FullName}[{Id}]";
}
}
}