Skip to content

Commit

Permalink
refactor: @jsonformat(pattern ="yyyy-MM-dd HH:mm:sss") 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 committed Aug 27, 2024
1 parent d121a26 commit d5877b2
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.few.api.web.controller.article.response

import com.fasterxml.jackson.annotation.JsonFormat
import java.net.URL
import java.time.LocalDateTime

Expand All @@ -12,7 +11,6 @@ data class ReadArticleResponse(
val content: String,
val problemIds: List<Long>,
val category: String,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
val createdAt: LocalDateTime,
val views: Long,
val workbooks: List<WorkbookInfo> = emptyList(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.few.api.web.controller.subscription.response

import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import com.few.api.domain.workbook.usecase.dto.WriterDetail
import java.net.URL
Expand All @@ -17,7 +16,6 @@ data class MainViewSubscribeWorkbookInfo(
val title: String,
val description: String,
val category: String,
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
val createdAt: LocalDateTime,
val writerDetails: List<WriterDetail>,
val subscriptionCount: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.few.api.web.controller.workbook.article.response

import com.fasterxml.jackson.annotation.JsonFormat
import com.few.api.domain.workbook.article.dto.ReadWorkBookArticleOut
import com.few.api.web.controller.workbook.response.WriterInfo
import java.time.LocalDateTime
Expand All @@ -12,7 +11,6 @@ data class ReadWorkBookArticleResponse(
val content: String,
val problemIds: List<Long>,
val category: String,
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
val createdAt: LocalDateTime,
val day: Long,
) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.few.api.web.controller.workbook.response

import com.fasterxml.jackson.annotation.JsonFormat
import java.net.URL
import java.time.LocalDateTime

Expand All @@ -14,7 +13,6 @@ data class BrowseWorkBookInfo(
val title: String,
val description: String,
val category: String,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
val createdAt: LocalDateTime,
val writers: List<WriterInfo>,
val subscriberCount: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.few.api.web.controller.workbook.response

import com.fasterxml.jackson.annotation.JsonFormat
import com.few.api.domain.workbook.usecase.dto.ReadWorkbookUseCaseOut
import java.net.URL
import java.time.LocalDateTime
Expand All @@ -11,7 +10,6 @@ data class ReadWorkBookResponse(
val title: String,
val description: String,
val category: String,
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
val createdAt: LocalDateTime,
val writers: List<WriterInfo>,
val articles: List<ArticleInfo>,
Expand Down

0 comments on commit d5877b2

Please sign in to comment.