zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Aggregates/PermissionAggregate/PermissionGrant.cs

21 lines
562 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using System.Diagnostics.CodeAnalysis;
using ZeroFramework.DeviceCenter.Domain.Entities;
namespace ZeroFramework.DeviceCenter.Domain.Aggregates.PermissionAggregate
{
public class PermissionGrant : BaseAggregateRoot<Guid>, IMultiTenant
{
public Guid? TenantId { get; set; }
[AllowNull]
public string OperationName { get; set; }
[AllowNull]
public string ProviderName { get; set; }
[AllowNull]
public string ProviderKey { get; set; }
public Guid? ResourceGroupId { get; set; }
}
}