mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-07-22 04:04:35 +02:00
15 lines
402 B
C#
15 lines
402 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Phantom.Controller.Database.Entities;
|
|
|
|
[Table("RolePermissions", Schema = "identity")]
|
|
public sealed class RolePermissionEntity {
|
|
public Guid RoleGuid { get; set; }
|
|
public string PermissionId { get; set; }
|
|
|
|
public RolePermissionEntity(Guid roleGuid, string permissionId) {
|
|
RoleGuid = roleGuid;
|
|
PermissionId = permissionId;
|
|
}
|
|
}
|