Class VolunteerRoleDto
- Namespace
- Builvero.Application.DTOs
- Assembly
- Builvero.Application.dll
Data transfer object representing a volunteer role with its details and status.
public class VolunteerRoleDto
- Inheritance
-
VolunteerRoleDto
- Inherited Members
Remarks
This DTO is used for displaying volunteer roles to applicants and managing roles in admin interfaces. Active roles are visible to applicants and can receive new applications. Closed roles are hidden from public view.
Properties
ClosedAtUtc
Gets or sets the UTC timestamp when the role was closed (null if the role is currently active).
public DateTime? ClosedAtUtc { get; set; }
Property Value
- DateTime?
- Data transfer object representing a volunteer role with its details and status.
CreatedAtUtc
Gets or sets the UTC timestamp when the role was created.
public DateTime CreatedAtUtc { get; set; }
Property Value
- DateTime
- Data transfer object representing a volunteer role with its details and status.
Description
Gets or sets the detailed description of the volunteer role, including responsibilities and requirements.
public string Description { get; set; }
Property Value
- string
- Data transfer object representing a volunteer role with its details and status.
Id
Gets or sets the unique identifier of the volunteer role.
public Guid Id { get; set; }
Property Value
- Guid
- Data transfer object representing a volunteer role with its details and status.
IsActive
Gets or sets a value indicating whether the role is currently active and accepting applications.
public bool IsActive { get; set; }
Property Value
- bool
- Data transfer object representing a volunteer role with its details and status.
Remarks
When false, the role is closed and hidden from public view. New applications cannot be submitted for closed roles.
Key
Gets or sets the unique key identifier for the role (e.g., "mobile-developer", "ui-designer").
public string Key { get; set; }
Property Value
- string
- Data transfer object representing a volunteer role with its details and status.
Remarks
Used for programmatic identification and URL-friendly references.
Title
Gets or sets the display title of the volunteer role (e.g., "Mobile Developer", "UI Designer").
public string Title { get; set; }
Property Value
- string
- Data transfer object representing a volunteer role with its details and status.