From 96d8f494d97b3a5f47901ef3ff993a2f7f81a1be Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 9 Jan 2025 11:56:24 +0800 Subject: [PATCH] add TenantId --- .../Device/Entities/DevicePermissionManuallyEntity.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Src/Dlhis.Entity/Device/Entities/DevicePermissionManuallyEntity.cs b/Src/Dlhis.Entity/Device/Entities/DevicePermissionManuallyEntity.cs index e61a1f73..5a27d65d 100644 --- a/Src/Dlhis.Entity/Device/Entities/DevicePermissionManuallyEntity.cs +++ b/Src/Dlhis.Entity/Device/Entities/DevicePermissionManuallyEntity.cs @@ -9,15 +9,19 @@ namespace Dlhis.Entity.Device.Entities; /// 设备权限(手动) /// [SugarTable(TableName = "DevicePermissionManually")] -public class DevicePermissionManuallyEntity : SugarBaseEntity, ISoftDeleted +public class DevicePermissionManuallyEntity : SugarBaseEntity, ISoftDeleted , ITenantId { [DeviceCode] [SugarColumn(IsNullable = false)] public Guid DeviceCode { get; set; } + [SugarColumn(IsNullable = false)] public string UserNo { get; set; } - - /// + + public bool IsDeleted { get; set; } + + + public string TenantId { get; set; } } \ No newline at end of file