diff --git a/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs b/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs index fdf970e8..baf9ed79 100644 --- a/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs +++ b/Src/Dlhis.Entity/Basic/Entity/GainfoEntity.cs @@ -1,5 +1,6 @@ using Dlhis.Entity.Basic.Enums; using Kurisu.AspNetCore.DataAccess.SqlSugar; +using Kurisu.AspNetCore.DataAccess.SqlSugar.Attributes; using SqlSugar; using SqlSugar.DbConvert; @@ -164,6 +165,7 @@ public class GainfoEntity : SugarBaseEntity /// /// 厂区 /// + [TenantId] [SugarColumn(ColumnDescription = "厂区")] public string Factory { get; set; } diff --git a/Src/Dlhis.Entity/Dlhis.Entity.csproj b/Src/Dlhis.Entity/Dlhis.Entity.csproj index c1fb8f72..6f550900 100644 --- a/Src/Dlhis.Entity/Dlhis.Entity.csproj +++ b/Src/Dlhis.Entity/Dlhis.Entity.csproj @@ -7,7 +7,7 @@ - +