mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-22 17:28:43 +00:00
32 lines
965 B
C#
32 lines
965 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace PodNoms.Api.Models {
|
|
public enum ProcessingStatus {
|
|
Accepted, //0
|
|
Downloading, //1
|
|
Processing, //2
|
|
Uploading, //3
|
|
Processed, //4
|
|
Failed, //5
|
|
Deferred //6
|
|
}
|
|
public class PodcastEntry : BaseEntity {
|
|
|
|
public string Author { get; set; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public string SourceUrl { get; set; }
|
|
public string AudioUrl { get; set; }
|
|
public float AudioLength { get; set; }
|
|
public long AudioFileSize { get; set; }
|
|
public string ImageUrl { get; set; }
|
|
public string ProcessingPayload { get; set; }
|
|
public ProcessingStatus ProcessingStatus { get; set; } = ProcessingStatus.Accepted;
|
|
public bool Processed { get; set; }
|
|
|
|
public int PodcastId { get; set; }
|
|
public Podcast Podcast { get; set; }
|
|
}
|
|
|
|
}
|