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;
	}
}