261102_01_ENH: 알림톡 발신 프로필 목록 조회 추가 및 템플릿 API senderKey 필수 검증 적용
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package com.kri.notihub.server.dto.template;
|
||||
|
||||
public record KkoProfileDto(String senderKey, String name, String uuid) {
|
||||
}
|
||||
@@ -5,6 +5,9 @@ import jakarta.validation.constraints.Pattern;
|
||||
import jakarta.validation.constraints.Size;
|
||||
|
||||
public record KkoTemplateDetailRequestDto(
|
||||
@NotBlank
|
||||
@Size(max = 40)
|
||||
String senderKey,
|
||||
@NotBlank
|
||||
@Size(max = 30)
|
||||
@Pattern(regexp = "[A-Za-z0-9_-]+")
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
package com.kri.notihub.server.dto.template;
|
||||
|
||||
import jakarta.validation.constraints.Size;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
public record KkoTemplateListRequestDto(
|
||||
@NotBlank
|
||||
@Size(max = 40)
|
||||
String senderKey,
|
||||
@Size(min = 2, max = 50)
|
||||
String keyword
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user