2026-03-06 17:28:52 +07:00
|
|
|
package ru.soune.nocopy.entity.search;
|
|
|
|
|
|
|
|
|
|
import jakarta.persistence.*;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.Getter;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.Setter;
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name = "global_search_tasks")
|
|
|
|
|
@Data
|
|
|
|
|
@Getter @Setter
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
public class GlobalSearchTask {
|
|
|
|
|
@Id
|
|
|
|
|
@GeneratedValue(strategy = GenerationType.UUID)
|
|
|
|
|
private String taskId;
|
|
|
|
|
|
|
|
|
|
private Long userId;
|
|
|
|
|
|
|
|
|
|
private String searchType;
|
|
|
|
|
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
private Integer totalFiles;
|
|
|
|
|
|
|
|
|
|
private Integer processedFiles;
|
|
|
|
|
|
|
|
|
|
private LocalDateTime createdAt;
|
|
|
|
|
|
|
|
|
|
private LocalDateTime updatedAt;
|
2026-05-13 16:00:35 +07:00
|
|
|
|
|
|
|
|
@Version
|
|
|
|
|
private Long version;
|
2026-03-06 17:28:52 +07:00
|
|
|
}
|