콘텐츠 등록 - 대여만 가능하게 등록할 수 있도록 속성 추가

This commit is contained in:
Klaus 2023-10-20 23:55:50 +09:00
parent c43faef14e
commit f45c6c7938
2 changed files with 2 additions and 0 deletions

View File

@ -176,6 +176,7 @@ class AudioContentService(
} else {
false
},
isOnlyRental = request.isOnlyRental,
isCommentAvailable = request.isCommentAvailable
)
audioContent.theme = theme

View File

@ -8,6 +8,7 @@ data class CreateAudioContentRequest(
val themeId: Long = 0,
val isAdult: Boolean = false,
val isGeneratePreview: Boolean = true,
val isOnlyRental: Boolean = false,
val isCommentAvailable: Boolean = false,
val type: AudioContentType = AudioContentType.INDIVIDUAL,
val childIds: List<Long>? = null,