1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-05-30 22:34:04 +02:00
Minecraft-Phantom-Panel/Server/Phantom.Server.Database/Entities/RoleEntity.cs

18 lines
389 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Phantom.Server.Database.Entities;
[Table("Roles", Schema = "identity")]
public sealed class RoleEntity {
[Key]
public Guid RoleGuid { get; set; }
public string Name { get; set; }
public RoleEntity(Guid roleGuid, string name) {
RoleGuid = roleGuid;
Name = name;
}
}