package com.hotwj.platform.video.domain.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 视频转码任务状态
 */
@Data
@Accessors(chain = true)
public class VideoTranscodeTaskInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String taskId;

    private String fileHash;

    private String fileName;

    /**
     * waiting / processing / completed / failed
     */
    private String status;

    private String m3u8Url;

    private String errorMessage;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
