56 lines
1.6 KiB
C#
56 lines
1.6 KiB
C#
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;
|
|
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace WebDoorCreator.Data.DbModels
|
|
{
|
|
/// <summary>
|
|
/// View to retrieve data from multiple tables
|
|
/// </summary>
|
|
//[Table("v_UserRolesClaims")]
|
|
public class UsersViewModel
|
|
{
|
|
/// <summary>
|
|
/// UserId from AspNetUserRoles table
|
|
/// </summary>
|
|
public string UserId { get; set; } = "";
|
|
/// <summary>
|
|
/// UserName from AspNetUsers table
|
|
/// </summary>
|
|
public string UserName { get; set; } = "";
|
|
/// <summary>
|
|
/// Email from AspNetUsers table
|
|
/// </summary>
|
|
public string Email { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// RoleId from AspNetUserRoles table
|
|
/// </summary>
|
|
public string RoleId { get; set; } = "";
|
|
/// <summary>
|
|
/// Name from AspNetRole table
|
|
/// </summary>
|
|
public string RoleName { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// ClaimId from AspNetUserRoles table
|
|
/// </summary>
|
|
public int ClaimId { get; set; } = 0;
|
|
/// <summary>
|
|
/// ClaimType from AspNetRole table
|
|
/// </summary>
|
|
public string ClaimType { get; set; } = "";
|
|
/// <summary>
|
|
/// ClaimValue from AspNetRole table
|
|
/// </summary>
|
|
public string ClaimValue { get; set; } = "";
|
|
}
|
|
}
|