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/UserPermissionEntity.cs
2024-03-30 17:08:57 +01:00

15 lines
403 B
C#

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