diff --git a/MemorialHouse/MHDomain/MHDomain/Entity/BookCover.swift b/MemorialHouse/MHDomain/MHDomain/Entity/BookCover.swift index d167faac..91cf3dec 100644 --- a/MemorialHouse/MHDomain/MHDomain/Entity/BookCover.swift +++ b/MemorialHouse/MHDomain/MHDomain/Entity/BookCover.swift @@ -1,20 +1,22 @@ import MHFoundation public struct BookCover: Equatable, Sendable { - public let identifier = UUID() + public let identifier: UUID public let title: String - public let imageURL: String + public let imageURL: String? public let color: BookColor - public let category: String + public let category: String? public let favorite: Bool public init( + identifier: UUID = .init(), title: String, - imageURL: String, + imageURL: String?, color: BookColor, - category: String, + category: String?, favorite: Bool = false ) { + self.identifier = identifier self.title = title self.imageURL = imageURL self.color = color