diff --git a/src/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj b/src/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj index 29cfd714..91843c46 100644 --- a/src/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj +++ b/src/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj @@ -13,6 +13,7 @@ + diff --git a/src/Yi.Framework/Yi.Framework.Domain/Student/Entities/StudentEntity.cs b/src/Yi.Framework/Yi.Framework.Domain/Student/Entities/StudentEntity.cs index 1d532d26..f850ab2f 100644 --- a/src/Yi.Framework/Yi.Framework.Domain/Student/Entities/StudentEntity.cs +++ b/src/Yi.Framework/Yi.Framework.Domain/Student/Entities/StudentEntity.cs @@ -1,4 +1,5 @@ -using System; +using SqlSugar; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -9,6 +10,7 @@ namespace Yi.Framework.Domain.Student.Entities /// /// 实体 /// + [SugarTable("Student")] public class StudentEntity { public long Id { get; set; }