18 lines
484 B
C#
18 lines
484 B
C#
namespace MinAttest.Domain.Entities;
|
|
|
|
public class EmployerUser
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid EmployerId { get; set; }
|
|
public Employer Employer { get; set; } = null!;
|
|
|
|
// Entra ID object id of the user
|
|
public string ExternalObjectId { get; set; } = string.Empty;
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
public string? Name { get; set; }
|
|
|
|
public EmployerUserRole Role { get; set; } = EmployerUserRole.Issuer;
|
|
}
|
|
|