mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-05-30 22:34:04 +02:00
18 lines
389 B
C#
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;
|
|
}
|
|
}
|