Files
webdoorcreator/WebDoorCreator.Data/DbModels/UsersViewModel.cs
T
2023-03-17 09:11:20 +01:00

54 lines
1.5 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; } = "";
#if false
/// <summary>
/// ClaimType from AspNetUserClaims table
/// </summary>
public string ClaimType { get; set; } = "";
/// <summary>
/// ClaimValue from AspNetUserClaims table
/// </summary>
public string ClaimValue { get; set; } = "";
#endif
}
}