package com.iqser.red.service.persistence.management.v1.processor.entity.configuration;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Entity
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "application_configuration")
public class ApplicationConfigurationEntity {

    public static final String ID = "APPLICATION_CONFIG_ID";

    @Id
    private final String id = ApplicationConfigurationEntity.ID;

    @Column
    private int downloadCleanupDownloadFilesHours = 8;

    @Column
    private int downloadCleanupNotDownloadFilesHours = 72;

    @Column
    private int softDeleteCleanupTime = 96;

}
