1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-07-23 07:04:34 +02:00
Minecraft-Phantom-Panel/Controller/Phantom.Controller.Database/Entities/RoleEntity.cs

18 lines
392 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Phantom.Controller.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;
}
}