From ea4e8856c2a472402028e4ca5c485df1feb32901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= Date: Thu, 12 Jan 2023 16:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0SqlSugarCoreNoDrive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Yi.Framework/Yi.Framework.Core/Yi.Framework.Core.csproj | 1 + .../Yi.Framework.Domain/Student/Entities/StudentEntity.cs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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; }