IEntity.cs 300 Bytes Edit Raw Blame History Permalink 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; } } }