ADD JobService and UploadService

This commit is contained in:
2025-05-05 21:12:35 +02:00
parent 9f9e8251f9
commit da5d2ef853
5 changed files with 162 additions and 40 deletions

View File

@@ -0,0 +1,33 @@
package com.ddf.vodsystem.entities;
import lombok.Data;
import java.io.File;
@Data
public class Job implements Runnable {
private String uuid;
private File file;
private boolean started;
private float progress;
// configs
private float startPoint;
private float endPoint;
private float fps;
private int width;
private int height;
public Job(String uuid, File file) {
this.uuid = uuid;
this.file = file;
this.started = false;
}
@Override
public void run() {
this.started = true;
this.progress = 0;
System.out.println("<UNK>");
}
}