Skip to content

Commit 70f95d3

Browse files
committed
[fix] #188 BaseProfile Protocol 추가
1 parent fc9e7a2 commit 70f95d3

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Projects/Domain/Sources/Base/BaseProfile.swift

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@
55
// Created by 김민호 on 2/24/25.
66
//
77

8-
public struct BaseProfile: Equatable {
8+
import Util
9+
10+
public struct BaseProfile: Equatable, Identifiable, CategoryImage {
911
public let id: Int
10-
public let url: String
12+
public let imageURL: String
13+
14+
public init(
15+
id: Int,
16+
imageURL: String
17+
) {
18+
self.id = id
19+
self.imageURL = imageURL
20+
}
1121
}

0 commit comments

Comments
 (0)