zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/Models/Permissions/PermissionGrantModel.cs
2023-12-05 17:22:48 +08:00

21 lines
474 B
C#

using System.Diagnostics.CodeAnalysis;
namespace ZeroFramework.DeviceCenter.Application.Models.Permissions
{
public class PermissionGrantModel
{
[AllowNull]
public string Name { get; set; }
[AllowNull]
public string DisplayName { get; set; }
[AllowNull]
public string ParentName { get; set; }
public bool IsGranted { get; set; }
public List<string> AllowedProviders { get; set; } = [];
}
}