refactor: flatten dto entity and mapper packages

This commit is contained in:
wh
2026-04-14 13:28:10 +08:00
parent 0af19cf1b5
commit 29766ebd28
64 changed files with 1524 additions and 1780 deletions

View File

@@ -0,0 +1,56 @@
package com.label.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 瑙嗛澶勭悊浠诲姟瀹炰綋锛屽搴?video_process_job 琛ㄣ€? *
* jobType 鍙栧€硷細FRAME_EXTRACT / VIDEO_TO_TEXT
* status 鍙栧€硷細PENDING / RUNNING / SUCCESS / FAILED / RETRYING
*/
@Data
@TableName("video_process_job")
public class VideoProcessJob {
@TableId(type = IdType.AUTO)
private Long id;
/** 鎵€灞炲叕鍙革紙澶氱鎴烽敭锛?*/
private Long companyId;
/** 鍏宠仈璧勬枡 ID */
private Long sourceId;
/** 浠诲姟绫诲瀷锛欶RAME_EXTRACT / VIDEO_TO_TEXT */
private String jobType;
/** 浠诲姟鐘舵€侊細PENDING / RUNNING / SUCCESS / FAILED / RETRYING */
private String status;
/** 浠诲姟鍙傛暟锛圝SONB锛屼緥濡?{"frameInterval": 30}锛?*/
private String params;
/** AI 澶勭悊杈撳嚭璺緞锛堟垚鍔熷悗濉啓锛?*/
private String outputPath;
/** 宸查噸璇曟鏁?*/
private Integer retryCount;
/** 鏈€澶ч噸璇曟鏁帮紙榛樿 3锛?*/
private Integer maxRetries;
/** 閿欒淇℃伅 */
private String errorMessage;
private LocalDateTime startedAt;
private LocalDateTime completedAt;
private LocalDateTime createdAt;
private LocalDateTime updatedAt;
}