Files
bright-glimmer/BrightGlimmer.Domain/Entity.cs
2019-04-24 17:50:37 +00:00

23 lines
490 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BrightGlimmer.Domain
{
public class Entity
{
public Guid Id { get; set; }
public bool IsDeleted { get; set; }
public DateTime CreatedDate { get; set; }
public DateTime ModifiedDate { get; set; }
public Entity()
{
Id = Guid.NewGuid();
CreatedDate = DateTime.UtcNow;
ModifiedDate = DateTime.UtcNow;
}
}
}