Skip to content

Commit 2ad2262

Browse files
committed
[BOOK-379] feat: entity, vo level 수정
1 parent 6a2da50 commit 2ad2262

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Projects/BKDomain/Sources/Entity/RecordInfo.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public struct RecordInfo: Decodable, Equatable {
77
public let bookId: String
88
public let pageNumber: Int
99
public let quote: String
10-
public let review: String
10+
public let review: String?
1111
public let emotionTags: [Emotion]
1212
public let createdAt: Date
1313
public let updatedAt: Date?
@@ -21,7 +21,7 @@ public struct RecordInfo: Decodable, Equatable {
2121
bookId: String,
2222
pageNumber: Int,
2323
quote: String,
24-
review: String,
24+
review: String?,
2525
emotionTags: [Emotion],
2626
createdAt: Date,
2727
updatedAt: Date?,

src/Projects/BKDomain/Sources/VO/RecordDetails/RecordVO.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import Foundation
55
public struct RecordVO {
66
public let pageNumber: Int
77
public let quote: String
8-
public let review: String
8+
public let review: String?
99
public let emotionTags: [String]
1010

1111
public init(
1212
pageNumber: Int,
1313
quote: String,
14-
review: String,
14+
review: String?,
1515
emotionTags: [String]
1616
) {
1717
self.pageNumber = pageNumber

0 commit comments

Comments
 (0)