관리자 오디션 캐릭터

- 등록, 수정, 상세, 지원리스트 API
This commit is contained in:
2024-12-25 02:39:21 +09:00
parent bb3263dd68
commit 99fdf473ae
8 changed files with 268 additions and 4 deletions

View File

@@ -8,12 +8,13 @@ import javax.persistence.ManyToOne
@Entity
data class AuditionRole(
val name: String,
val imagePath: String,
var name: String,
// 오디션 대본 URL
val auditionScriptUrl: String,
val isActive: Boolean
var auditionScriptUrl: String? = null
) : BaseEntity() {
var isActive: Boolean = true
var imagePath: String? = null
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "audition_id", nullable = false)
var audition: Audition? = null