mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-06 01:06:38 +08:00
Update Entity.cs
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Yi.Framework.Model.Base
|
|||||||
{
|
{
|
||||||
public class Entity<Key> : IEntity<Key>
|
public class Entity<Key> : IEntity<Key>
|
||||||
{
|
{
|
||||||
public Key Id { get; set; }
|
public Key Id { get; set; }=default(Key)!;
|
||||||
|
|
||||||
public object[] GetKeys()
|
public object[] GetKeys()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user