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