mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-22 08:42:44 +01:00
15 lines
395 B
C#
15 lines
395 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Phantom.Server.Database.Entities;
|
|
|
|
[Table("RolePermissions", Schema = "identity")]
|
|
public sealed class RolePermissionEntity {
|
|
public string RoleId { get; set; }
|
|
public string PermissionId { get; set; }
|
|
|
|
public RolePermissionEntity(string roleId, string permissionId) {
|
|
RoleId = roleId;
|
|
PermissionId = permissionId;
|
|
}
|
|
}
|