mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-21 23:42:45 +01:00
15 lines
404 B
C#
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;
|
|
}
|
|
}
|