서비스 공지사항 API 추가

This commit is contained in:
2023-08-02 16:46:56 +09:00
parent 0c106540cd
commit baad5653e8
7 changed files with 186 additions and 0 deletions
@@ -0,0 +1,10 @@
package kr.co.vividnext.sodalive.notice
data class CreateNoticeRequest(
val title: String,
val content: String
) {
fun toEntity(): ServiceNotice {
return ServiceNotice(title, content)
}
}