Skip to content

Commit

Permalink
refactor: BookCover 엔티티 프로퍼티 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyxxn committed Nov 12, 2024
1 parent 5ac4ba4 commit d519730
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions MemorialHouse/MHDomain/MHDomain/Entity/BookCover.swift
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import MHFoundation

public struct BookCover {
public let bookIdentifer = UUID()
public let title: String
public let imageURL: String
public let bookType: BookType
public let bookType: BookColor
public let category: String
public let favorite: Bool

public init(
title: String,
imageURL: String,
bookType: BookType
bookType: BookColor,
category: String,
favorite: Bool = false
) {
self.title = title
self.imageURL = imageURL
self.bookType = bookType
self.category = category
self.favorite = favorite
}
}

0 comments on commit d519730

Please sign in to comment.