namespace Elsa.Samples.AspNet.Onboarding.Web.Entities; /// /// A task that needs to be completed by the user. /// public class OnboardingTask { /// /// The ID of the task. /// public long Id { get; set; } /// /// An external ID that can be used to reference the task. /// public string ExternalId { get; set; } = default!; /// /// The ID of the onboarding process that the task belongs to. /// public string ProcessId { get; set; } = default!; /// /// The name of the task. /// public string Name { get; set; } = default!; /// /// The task description. /// public string Description { get; set; } = default!; /// /// The name of the employee being onboarded. /// public string EmployeeName { get; set; } = default!; /// /// The email address of the employee being onboarded. /// public string EmployeeEmail { get; set; } = default!; /// /// Whether the task has been completed. /// public bool IsCompleted { get; set; } /// /// The date and time when the task was created. /// public DateTimeOffset CreatedAt { get; set; } /// /// The date and time when the task was completed. /// public DateTimeOffset? CompletedAt { get; set; } }