This commit is contained in:
2026-03-20 01:37:34 +01:00
parent a7203dff02
commit f3edcd0af4
+6
View File
@@ -15,6 +15,12 @@ namespace Musify.Domain.Entities
[Required] [Required]
public JobState JobState { get; set; } = JobState.Pending; public JobState JobState { get; set; } = JobState.Pending;
public bool IsCompleted => JobState == JobState.Completed;
public bool IsFailed => JobState == JobState.Failed;
public bool IsPending => JobState == JobState.Pending;
[Required] [Required]
public required string Payload { get; set; } public required string Payload { get; set; }