爆肝,重构框架,你懂得
This commit is contained in:
18
Yi.Framework.Net6/Yi.Framework.Model/Base/Entity.cs
Normal file
18
Yi.Framework.Net6/Yi.Framework.Model/Base/Entity.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Model.Base
|
||||
{
|
||||
public class Entity<Key> : IEntity<Key>
|
||||
{
|
||||
public Key Id { get; set; }
|
||||
|
||||
public object[] GetKeys()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user