using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace WebDoorCreator.Data.DbModels
{
///
/// View to retrieve data from multiple tables
///
//[Table("v_UserRolesClaims")]
public class UsersViewModel
{
///
/// UserId from AspNetUserRoles table
///
public string UserId { get; set; } = "";
///
/// UserName from AspNetUsers table
///
public string UserName { get; set; } = "";
///
/// Email from AspNetUsers table
///
public string Email { get; set; } = "";
///
/// RoleId from AspNetUserRoles table
///
public string RoleId { get; set; } = "";
///
/// Name from AspNetRole table
///
public string RoleName { get; set; } = "";
///
/// ClaimId from AspNetUserRoles table
///
public int ClaimId { get; set; } = 0;
///
/// ClaimType from AspNetRole table
///
public string ClaimType { get; set; } = "";
///
/// ClaimValue from AspNetRole table
///
public string ClaimValue { get; set; } = "";
}
}