Table of Contents

Class CreateAdministratorRequest

Namespace
Core.CliniCore.Requests.Administrators
Assembly
Core.CliniCore.dll

Request DTO for creating a new administrator

public class CreateAdministratorRequest
Inheritance
CreateAdministratorRequest
Inherited Members

Properties

Address

public string? Address { get; set; }

Property Value

string

BirthDate

public DateTime BirthDate { get; set; }

Property Value

DateTime

Department

public string Department { get; set; }

Property Value

string

Email

public string? Email { get; set; }

Property Value

string

Id

Optional: Client-provided ID for the profile. If not provided, server generates one. Required for client-server ID synchronization (e.g., credential linking).

public Guid? Id { get; set; }

Property Value

Guid?

Name

[Required]
public string Name { get; set; }

Property Value

string

Permissions

public List<string> Permissions { get; set; }

Property Value

List<string>

Username

[Required]
public string Username { get; set; }

Property Value

string