forked from bom-bom-study/jae-spring-boot-making
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bom-bom-study#6][ADD] Scent 테이블에 대한 간단한 CRUD dao 작성
- Loading branch information
Showing
18 changed files
with
159 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ pluginManagement { | |
gradlePluginPortal() | ||
} | ||
} | ||
rootProject.name = 'datasource' | ||
rootProject.name = 'woodywoody' |
53 changes: 0 additions & 53 deletions
53
src/main/java/me/jae57/datasource/controller/ItemController.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
src/main/java/me/jae57/datasource/repository/ItemRepository.java
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
src/main/java/me/jae57/datasource/service/ItemService.java
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...e57/datasource/DatasourceApplication.java → ...me/jae57/woodywoody/WoodyApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package me.jae57.datasource; | ||
package me.jae57.woodywoody; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class DatasourceApplication { | ||
public class WoodyApplication { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(DatasourceApplication.class, args); | ||
SpringApplication.run(WoodyApplication.class, args); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package me.jae57.woodywoody.dto; | ||
|
||
import lombok.Getter; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
public class ReqScentDto { | ||
private String scentName; | ||
private String scentKorName; | ||
private String brand; | ||
private String fragrance; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package me.jae57.woodywoody.dto; | ||
|
||
public class ScentDto { | ||
private Long scentId; | ||
private String scentName; | ||
private String scentKorName; | ||
private String brand; | ||
private String fragrance; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package me.jae57.woodywoody.model; | ||
|
||
import lombok.*; | ||
|
||
@Builder | ||
@Getter | ||
public class Scent { | ||
private int scentId; | ||
private String scentName; | ||
private String scentKorName; | ||
private String brand; | ||
private String fragrance; | ||
} |
Oops, something went wrong.