서비스 공지사항 API 추가
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user