NCP-3 add UserContent entity
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package ru.soune.no_copy.dto;
|
||||
|
||||
import ru.soune.no_copy.entity.ContentStatus;
|
||||
import ru.soune.no_copy.entity.FileType;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
public record UserContentResponse(
|
||||
Long id,
|
||||
String filename,
|
||||
String originalFilename,
|
||||
FileType fileType,
|
||||
long fileSize,
|
||||
String filePath,
|
||||
ContentStatus status,
|
||||
LocalDateTime uploadDate
|
||||
) {}
|
||||
Reference in New Issue
Block a user