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;
}
