Skip to content

Commit b86a07d

Browse files
committed
Add outline field
1 parent 56d68e7 commit b86a07d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>io.github.nhk-news-web-easy</groupId>
2323
<artifactId>nhk-easy-entity</artifactId>
24-
<version>1.0.4</version>
24+
<version>1.0.5</version>
2525
</dependency>
2626
<dependency>
2727
<groupId>org.jetbrains.kotlin</groupId>

src/main/kotlin/nhk/controller/api/NewsController.kt

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class NewsController : BaseController() {
3838
dto.newsId = news.newsId
3939
dto.title = news.title
4040
dto.titleWithRuby = news.titleWithRuby
41+
dto.outline = news.outline
4142
dto.outlineWithRuby = news.outlineWithRuby
4243
dto.body = news.body
4344
dto.bodyWithoutRuby = news.bodyWithoutRuby

src/main/kotlin/nhk/dto/NewsDto.kt

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class NewsDto {
99

1010
var titleWithRuby = ""
1111

12+
var outline: String? = ""
13+
1214
var outlineWithRuby = ""
1315

1416
var body = ""

0 commit comments

Comments
 (0)