初始提交
This commit is contained in:
16
Infrastructure/Hncore.Infrastructure/DDD/IEntity.cs
Normal file
16
Infrastructure/Hncore.Infrastructure/DDD/IEntity.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace Hncore.Infrastructure.DDD
|
||||
{
|
||||
public interface IEntity
|
||||
{
|
||||
|
||||
}
|
||||
public interface IEntity<TId>: IEntity
|
||||
{
|
||||
TId Id
|
||||
{
|
||||
get;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user