콘텐츠 등록 - 대여만 가능하게 등록할 수 있도록 속성 추가
This commit is contained in:
parent
c43faef14e
commit
f45c6c7938
|
@ -176,6 +176,7 @@ class AudioContentService(
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
},
|
},
|
||||||
|
isOnlyRental = request.isOnlyRental,
|
||||||
isCommentAvailable = request.isCommentAvailable
|
isCommentAvailable = request.isCommentAvailable
|
||||||
)
|
)
|
||||||
audioContent.theme = theme
|
audioContent.theme = theme
|
||||||
|
|
|
@ -8,6 +8,7 @@ data class CreateAudioContentRequest(
|
||||||
val themeId: Long = 0,
|
val themeId: Long = 0,
|
||||||
val isAdult: Boolean = false,
|
val isAdult: Boolean = false,
|
||||||
val isGeneratePreview: Boolean = true,
|
val isGeneratePreview: Boolean = true,
|
||||||
|
val isOnlyRental: Boolean = false,
|
||||||
val isCommentAvailable: Boolean = false,
|
val isCommentAvailable: Boolean = false,
|
||||||
val type: AudioContentType = AudioContentType.INDIVIDUAL,
|
val type: AudioContentType = AudioContentType.INDIVIDUAL,
|
||||||
val childIds: List<Long>? = null,
|
val childIds: List<Long>? = null,
|
||||||
|
|
Loading…
Reference in New Issue