SubmitTaskRequestDto
Namespace: Commissiestrijd.Models
Assembly: backend.dll
Represents a data transfer object (DTO) for submitting a task. This class is used to encapsulate the data required to submit a task, including the task ID, committee name, and the image file associated with the submission.
public class SubmitTaskRequestDto
Inheritance
Show Inherited Members (7)
Properties
Committee
The name of the committee to which the task is being submitted. This property is required and indicates which committee the task is being submitted to for review.
public required string Committee { get; set; }
Property Value
string
Image
The image file associated with the task submission. This property is required and represents the image that the user uploads as part of the task submission process. It is expected to be an IFormFile, which allows for file uploads in ASP.NET Core applications.
public required IFormFile Image { get; set; }
Property Value
IFormFile
TaskId
The unique identifier for the task being submitted. This property is required and indicates which possible task the submission relates to.
public required Guid TaskId { get; set; }
Property Value
Guid