2025-12-17 22:37:46 +07:00
|
|
|
package ru.soune.nocopy.dto.file;
|
2025-12-17 01:19:48 +07:00
|
|
|
|
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.Builder;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.NoArgsConstructor;
|
2025-12-17 22:37:46 +07:00
|
|
|
import ru.soune.nocopy.entity.file.FileStatus;
|
2025-12-17 01:19:48 +07:00
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@Builder
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
public class FileEntityResponse {
|
|
|
|
|
|
|
|
|
|
private String id;
|
|
|
|
|
private Long userId;
|
|
|
|
|
private String originalFileName;
|
|
|
|
|
private String storedFileName;
|
|
|
|
|
private String filePath;
|
2026-01-30 17:39:19 +07:00
|
|
|
private String protectedFilePath;
|
2025-12-17 01:19:48 +07:00
|
|
|
private Long fileSize;
|
|
|
|
|
private String mimeType;
|
|
|
|
|
private String fileExtension;
|
|
|
|
|
private String checksum;
|
|
|
|
|
private String uploadSessionId;
|
|
|
|
|
private FileStatus status;
|
|
|
|
|
private LocalDateTime createdAt;
|
|
|
|
|
private LocalDateTime updatedAt;
|
|
|
|
|
private String formattedSize;
|
|
|
|
|
private String downloadUrl;
|
|
|
|
|
private boolean existsOnDisk;
|
2026-01-20 21:55:42 +07:00
|
|
|
private Integer supportId;
|
2026-01-26 14:02:10 +07:00
|
|
|
private String protectStatus;
|
2026-01-28 19:26:40 +07:00
|
|
|
private String ownerName;
|
|
|
|
|
private String ownerEmail;
|
|
|
|
|
private String ownerCompany;
|
|
|
|
|
private String fileName;
|
|
|
|
|
private String fileFormat;
|
|
|
|
|
private Integer checksCount;
|
|
|
|
|
private LocalDateTime fileUploadDate;
|
2026-03-06 12:15:39 +07:00
|
|
|
private String monitoring;
|
2025-12-17 01:19:48 +07:00
|
|
|
}
|