폴더 validation 수정
This commit is contained in:
@@ -23,10 +23,15 @@ public class FileDto {
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class SrchFilesDto {
|
||||
@Schema(description = "디렉토리경로", example = "/data")
|
||||
@NotNull private String dirPath;
|
||||
@Schema(description = "전체(*), cpg,dbf,geojson등", example = "*")
|
||||
@NotNull private String extension;
|
||||
@Schema(description = "파일명(name), 최종수정일(date)", example = "name")
|
||||
@NotNull private String sortType;
|
||||
@Schema(description = "파일시작위치", example = "1")
|
||||
@NotNull private Integer startPos;
|
||||
@Schema(description = "파일종료위치", example = "100")
|
||||
@NotNull private Integer endPos;
|
||||
}
|
||||
|
||||
@@ -86,15 +91,19 @@ public class FileDto {
|
||||
public static class Basic {
|
||||
|
||||
private final String fileNm;
|
||||
private final String filePath;
|
||||
private final String parentFolderNm;
|
||||
private final String parentPath;
|
||||
private final String fullPath;
|
||||
private final String extension;
|
||||
private final long fileSize;
|
||||
private final String lastModified;
|
||||
|
||||
public Basic(
|
||||
String fileNm, String filePath, String extension, long fileSize, String lastModified) {
|
||||
String fileNm, String parentFolderNm, String parentPath, String fullPath, String extension, long fileSize, String lastModified) {
|
||||
this.fileNm = fileNm;
|
||||
this.filePath = filePath;
|
||||
this.parentFolderNm = parentFolderNm;
|
||||
this.parentPath = parentPath;
|
||||
this.fullPath = fullPath;
|
||||
this.extension = extension;
|
||||
this.fileSize = fileSize;
|
||||
this.lastModified = lastModified;
|
||||
|
||||
Reference in New Issue
Block a user