// ======================================
// Author: Ebenezer Monney
// Email: info@ebenmonney.com
// Copyright (c) 2017 www.ebenmonney.com
//
// ==> Gun4Hire: contact@ebenmonney.com
// ======================================
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DAL.Models
{
public class ApplicationRole : IdentityRole
{
///
/// Initializes a new instance of .
///
///
/// The Id property is initialized to from a new GUID string value.
///
public ApplicationRole()
{
}
///
/// Initializes a new instance of .
///
/// The role name.
///
/// The Id property is initialized to from a new GUID string value.
///
public ApplicationRole(string roleName) : base(roleName)
{
}
///
/// Initializes a new instance of .
///
/// The role name.
/// Description of the role.
///
/// The Id property is initialized to from a new GUID string value.
///
public ApplicationRole(string roleName, string description) : base(roleName)
{
Description = description;
}
///
/// Gets or sets the description for this role.
///
public string Description { get; set; }
}
}