261012_01_FST: first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.kri.kart.server.common.consts;
|
||||
|
||||
public final class ExampleConstant {
|
||||
|
||||
public static final int DEFAULT_BATCH_SIZE = 1_000;
|
||||
|
||||
private ExampleConstant() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.kri.kart.server.common.enums;
|
||||
|
||||
public enum ExampleStatus {
|
||||
ACTIVE,
|
||||
INACTIVE
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.kri.kart.server.common.util;
|
||||
|
||||
public final class StringNormalizer {
|
||||
|
||||
private StringNormalizer() {
|
||||
}
|
||||
|
||||
public static String trimToNull(String value) {
|
||||
if (value == null) return null;
|
||||
String normalized = value.trim();
|
||||
return normalized.isEmpty() ? null : normalized;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 프로젝트 전용 Bean Validation annotation과 validator를 배치합니다.
|
||||
*/
|
||||
package com.kri.kart.server.common.validation;
|
||||
Reference in New Issue
Block a user