File size: 745 Bytes
8fb6238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace ClipForge.Core.Entities;

public class PublishJob : BaseEntity
{
    public Guid VideoAssetId { get; set; }
    public Guid? SocialAccountId { get; set; }
    public string Platform { get; set; } = "tiktok"; // tiktok, youtube_shorts, kwai
    public string Status { get; set; } = "pending"; // pending, scheduled, publishing, published, failed
    public DateTime? ScheduledAt { get; set; }
    public DateTime? PublishedAt { get; set; }
    public string? ExternalId { get; set; }
    public string? ErrorMessage { get; set; }
    public string? Caption { get; set; }
    public string? Hashtags { get; set; }

    // Navigation
    public VideoAsset? VideoAsset { get; set; }
    public SocialAccount? SocialAccount { get; set; }
}