PhoneToolMX/PhoneToolMX.Models/Models/Role.cs
2023-10-17 21:55:10 -07:00

18 lines
403 B
C#

using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations.Schema;
namespace PhoneToolMX.Models
{
public class Role : IdentityRole<string>
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public override string Id { get; set; }
public Role() { }
public Role(string name)
{
Name = name;
}
}
}