19 lines
505 B
C#
19 lines
505 B
C#
namespace SGU.AuthBroker.Core.Profiles;
|
|
|
|
public sealed record InstitutionalProfile(
|
|
string? EmployeeNumber = null,
|
|
string? DisplayName = null,
|
|
string? Email = null,
|
|
string? EmployeeType = null,
|
|
string? JobTitle = null,
|
|
string? Department = null)
|
|
{
|
|
public bool HasValues =>
|
|
EmployeeNumber is not null ||
|
|
DisplayName is not null ||
|
|
Email is not null ||
|
|
EmployeeType is not null ||
|
|
JobTitle is not null ||
|
|
Department is not null;
|
|
}
|