Implemented roles and action timestamps. Added oermissions selector and interfaces
This commit was merged in pull request #3.
This commit is contained in:
17
Moonlight.Frontend/Models/Permission.cs
Normal file
17
Moonlight.Frontend/Models/Permission.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Moonlight.Frontend.Models;
|
||||
|
||||
public class Permission
|
||||
{
|
||||
public string Identifier { get; init; }
|
||||
public string Name { get; init; }
|
||||
public string Description { get; init; }
|
||||
|
||||
public Permission(string identifier, string name, string description)
|
||||
{
|
||||
Identifier = identifier;
|
||||
Name = name;
|
||||
Description = description;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user