add TenantId

This commit is contained in:
2025-01-09 11:56:24 +08:00
parent 17dc1ddd11
commit 96d8f494d9

View File

@@ -9,15 +9,19 @@ namespace Dlhis.Entity.Device.Entities;
/// 设备权限(手动)
/// </summary>
[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; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
public string TenantId { get; set; }
}