Blame view

netcore/src/Modularity/Common/NCC.Common/Entity/IEntity.cs 300 Bytes
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  using NCC.Dependency;
  
  namespace NCC.Common.Entity
  {
      /// <summary>
      /// 数据模型接口
      /// </summary>
      public interface IEntity<TKey>
      {
          /// <summary>
          /// 获取或设置 实体唯一标识,主键
          /// </summary>
          TKey Id { get; set; }
      }
  }