14 lines
416 B
C#
14 lines
416 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ApplicationHub.Data.InMemory.Authentication.Entities;
|
|
|
|
public class UserDto
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
public string UserName { get; set; } = "";
|
|
public string Email { get; set; } = "";
|
|
public string PasswordHash { get; set; } = "";
|
|
public bool Active { get; set; }
|
|
public List<GroupDto> Groups { get; set; } = new();
|
|
} |