From 468dd909a527afb33b632613d1b7ac2838d4010e Mon Sep 17 00:00:00 2001 From: 0se0 <030ggong@gmail.com> Date: Fri, 6 Dec 2024 20:21:07 +0900 Subject: [PATCH] Feature #9: Create Request --- .../sopt/and/data/dto/request/RequestLoginDto.kt | 12 ++++++++++++ .../sopt/and/data/dto/request/RequestSignUpDto.kt | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 app/src/main/java/org/sopt/and/data/dto/request/RequestLoginDto.kt create mode 100644 app/src/main/java/org/sopt/and/data/dto/request/RequestSignUpDto.kt diff --git a/app/src/main/java/org/sopt/and/data/dto/request/RequestLoginDto.kt b/app/src/main/java/org/sopt/and/data/dto/request/RequestLoginDto.kt new file mode 100644 index 0000000..45badea --- /dev/null +++ b/app/src/main/java/org/sopt/and/data/dto/request/RequestLoginDto.kt @@ -0,0 +1,12 @@ +package org.sopt.and.data.dto.request + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class RequestLoginDto( + @SerialName("username") + val username: String, + @SerialName("password") + val password: String, +) \ No newline at end of file diff --git a/app/src/main/java/org/sopt/and/data/dto/request/RequestSignUpDto.kt b/app/src/main/java/org/sopt/and/data/dto/request/RequestSignUpDto.kt new file mode 100644 index 0000000..e703289 --- /dev/null +++ b/app/src/main/java/org/sopt/and/data/dto/request/RequestSignUpDto.kt @@ -0,0 +1,14 @@ +package org.sopt.and.data.dto.request + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class RequestSignUpDto( + @SerialName("username") + val username: String, + @SerialName("password") + val password: String, + @SerialName("hobby") + val hobby: String +) \ No newline at end of file