feat(admin-character): 캐릭터 리스트, 캐릭터 상세

- CharacterType: 첫 글자만 대문자, 나머지 소문자로 변경
- 이미지가 null 이면 ""으로 변경
This commit is contained in:
2025-08-12 17:01:51 +09:00
parent 00c617ec2e
commit 2965b8fea0
4 changed files with 8 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ class ChatCharacter(
// 캐릭터 유형
@Enumerated(EnumType.STRING)
@Column(nullable = false)
var characterType: CharacterType = CharacterType.CHARACTER,
var characterType: CharacterType = CharacterType.Character,
var isActive: Boolean = true
) : BaseEntity() {
@@ -134,6 +134,6 @@ class ChatCharacter(
}
enum class CharacterType {
CLONE,
CHARACTER
Clone,
Character
}

View File

@@ -225,7 +225,7 @@ class ChatCharacterService(
appearance: String? = null,
originalTitle: String? = null,
originalLink: String? = null,
characterType: CharacterType = CharacterType.CHARACTER,
characterType: CharacterType = CharacterType.Character,
tags: List<String> = emptyList(),
values: List<String> = emptyList(),
hobbies: List<String> = emptyList(),
@@ -309,7 +309,7 @@ class ChatCharacterService(
appearance: String? = null,
originalTitle: String? = null,
originalLink: String? = null,
characterType: CharacterType = CharacterType.CHARACTER,
characterType: CharacterType = CharacterType.Character,
tags: List<String> = emptyList(),
values: List<String> = emptyList(),
hobbies: List<String> = emptyList(),