Update delete workflows
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Musify.Domain.Entities
|
||||
{
|
||||
public enum LifeCycleStatus
|
||||
{
|
||||
Active = 0,
|
||||
Removing = 1
|
||||
}
|
||||
}
|
||||
@@ -41,6 +41,9 @@ namespace Musify.Domain.Entities
|
||||
[MaxLength(64)]
|
||||
public required string LargePictureName { get; set; }
|
||||
|
||||
[Required]
|
||||
public LifeCycleStatus LifeCycleStatus { get; set; } = LifeCycleStatus.Active;
|
||||
|
||||
[Required]
|
||||
public DateTime CreatedDate { get; set; } = DateTime.UtcNow;
|
||||
|
||||
|
||||
@@ -44,6 +44,9 @@ namespace Musify.Domain.Entities
|
||||
[Required]
|
||||
public ProcessingStatus AudioTranscodeProcessingStatus { get; set; } = ProcessingStatus.Pending;
|
||||
|
||||
[Required]
|
||||
public LifeCycleStatus LifeCycleStatus { get; set; } = LifeCycleStatus.Active;
|
||||
|
||||
[Required]
|
||||
public int RetryCount { get; set; } = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user