mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 01:16:17 +08:00
14 lines
372 B
C#
14 lines
372 B
C#
namespace System.Application.Entities
|
|
{
|
|
/// <summary>
|
|
/// (数据库表)实体模型接口
|
|
/// </summary>
|
|
/// <typeparam name="TPrimaryKey"></typeparam>
|
|
public interface IEntity<TPrimaryKey> where TPrimaryKey : IEquatable<TPrimaryKey>
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
TPrimaryKey Id { get; set; }
|
|
}
|
|
} |