From 967b5a2cb0c898ad374b8f5be8b7183c269db983 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 25 Sep 2024 12:58:28 +0200
Subject: [PATCH] Order files
---
.../project/{dto => }/CreateProjectAction.java | 8 +++-----
.../java/de/szut/lf8_starter/project/ProjectMapper.java | 1 +
.../szut/lf8_starter/project/{ => dto}/GetProjectDto.java | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
rename src/main/java/de/szut/lf8_starter/project/{dto => }/CreateProjectAction.java (87%)
rename src/main/java/de/szut/lf8_starter/project/{ => dto}/GetProjectDto.java (95%)
diff --git a/src/main/java/de/szut/lf8_starter/project/dto/CreateProjectAction.java b/src/main/java/de/szut/lf8_starter/project/CreateProjectAction.java
similarity index 87%
rename from src/main/java/de/szut/lf8_starter/project/dto/CreateProjectAction.java
rename to src/main/java/de/szut/lf8_starter/project/CreateProjectAction.java
index f1c6cdc..c41b134 100644
--- a/src/main/java/de/szut/lf8_starter/project/dto/CreateProjectAction.java
+++ b/src/main/java/de/szut/lf8_starter/project/CreateProjectAction.java
@@ -1,9 +1,7 @@
-package de.szut.lf8_starter.project.dto;
+package de.szut.lf8_starter.project;
-import de.szut.lf8_starter.project.GetProjectDto;
-import de.szut.lf8_starter.project.ProjectEntity;
-import de.szut.lf8_starter.project.ProjectMapper;
-import de.szut.lf8_starter.project.ProjectService;
+import de.szut.lf8_starter.project.dto.CreateProjectDto;
+import de.szut.lf8_starter.project.dto.GetProjectDto;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Schema;
diff --git a/src/main/java/de/szut/lf8_starter/project/ProjectMapper.java b/src/main/java/de/szut/lf8_starter/project/ProjectMapper.java
index 363ea64..74be8ec 100644
--- a/src/main/java/de/szut/lf8_starter/project/ProjectMapper.java
+++ b/src/main/java/de/szut/lf8_starter/project/ProjectMapper.java
@@ -1,6 +1,7 @@
package de.szut.lf8_starter.project;
import de.szut.lf8_starter.project.dto.CreateProjectDto;
+import de.szut.lf8_starter.project.dto.GetProjectDto;
import org.springframework.stereotype.Service;
@Service
diff --git a/src/main/java/de/szut/lf8_starter/project/GetProjectDto.java b/src/main/java/de/szut/lf8_starter/project/dto/GetProjectDto.java
similarity index 95%
rename from src/main/java/de/szut/lf8_starter/project/GetProjectDto.java
rename to src/main/java/de/szut/lf8_starter/project/dto/GetProjectDto.java
index 86ce087..cc337c7 100644
--- a/src/main/java/de/szut/lf8_starter/project/GetProjectDto.java
+++ b/src/main/java/de/szut/lf8_starter/project/dto/GetProjectDto.java
@@ -1,4 +1,4 @@
-package de.szut.lf8_starter.project;
+package de.szut.lf8_starter.project.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotBlank;