Initial commit carried over from private repo. This is V2.
This commit is contained in:
11
code/MessengerApi.Db.Contracts/Entities/IEntity.cs
Normal file
11
code/MessengerApi.Db.Contracts/Entities/IEntity.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace MessengerApi.Db.Contracts.Entities
|
||||
{
|
||||
public interface IEntity
|
||||
{
|
||||
Guid Id { get; }
|
||||
}
|
||||
|
||||
public interface IEntity<T> : IEntity where T : class, IEntity
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user