mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-05 17:20:52 +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 Key Id { get; set; }
|
||||
public Key Id { get; set; }=default(Key)!;
|
||||
|
||||
public object[] GetKeys()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user