Skip to content

Commit

Permalink
[add] : Reqres 도메인 영역 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Dec 31, 2023
1 parent 4941b93 commit 84594ed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package org.sopt.dosopttemplate.domain.entity

data class ReqresEntity(
val id: Int,
val avatar: String,
val email: String,
val first_name: String,
val last_name: String,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.sopt.dosopttemplate.domain.repository

import org.sopt.dosopttemplate.domain.entity.ReqresEntity

interface ReqresRepository {
suspend fun getReqresList(page: Int): Result<List<ReqresEntity>>
}

0 comments on commit 84594ed

Please sign in to comment.