1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-23 19:42:51 +01:00
Minecraft-Phantom-Panel/Controller/Phantom.Controller.Database/Entities/RolePermissionEntity.cs
2024-03-30 17:08:57 +01:00

15 lines
404 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Phantom.Controller.Database.Entities;
[Table("RolePermissions", Schema = "identity")]
public sealed class RolePermissionEntity {
public Guid RoleGuid { get; init; }
public string PermissionId { get; init; }
public RolePermissionEntity(Guid roleGuid, string permissionId) {
RoleGuid = roleGuid;
PermissionId = permissionId;
}
}