OpenAuth.Net/OpenAuth.Repository/Domain/Entity.cs

15 lines
232 B
C#
Raw Normal View History

using System;
2017-11-29 20:49:14 +08:00
namespace OpenAuth.Repository.Domain
{
public abstract class Entity
{
2017-10-11 16:19:34 +08:00
public string Id { get; set; }
public Entity()
{
2017-10-11 16:19:34 +08:00
Id = Guid.NewGuid().ToString();
}
}
}