Skip to content

Commit

Permalink
[refactor] #9 GetMyHobbyRepository 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
kamja0510 committed Dec 5, 2024
1 parent e2142d9 commit 64044ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/src/main/java/org/sopt/and/domain/model/HobbyEntity.kt

This file was deleted.

5 changes: 5 additions & 0 deletions app/src/main/java/org/sopt/and/domain/model/MyHobbyEntity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.sopt.and.domain.model

data class MyHobbyEntity(
val myHobby: String
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.sopt.and.domain.repository

import org.sopt.and.domain.model.MyHobbyEntity

interface GetMyHobbyRepository {
suspend fun getMyHobby(): Result<MyHobbyEntity>
}

0 comments on commit 64044ef

Please sign in to comment.