Files
Yi.Admin/Yi.Framework.Net6/src/framework/Yi.Framework.Ddd/Entities/IEntity.cs

24 lines
458 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Ddd.Entities
{
public interface IEntity
{
//
// 摘要:
// Returns an array of ordered keys for this entity.
2023-01-15 14:32:43 +08:00
}
public interface IEntity<TKey> : IEntity
{
//
// 摘要:
// Unique identifier for this entity.
2023-01-15 14:32:43 +08:00
TKey Id { get;}
}
}