feat: add zoo sample_test1

This commit is contained in:
2025-11-17 12:24:42 +09:00
parent 2fed53abe2
commit 1c38d4eecd
4 changed files with 241 additions and 241 deletions

View File

@@ -73,22 +73,20 @@ bootJar {
// formatAnnotations() // formatAnnotations()
// } // }
//} //}
spotless { spotless {
java { java {
target 'src/**/*.java' target 'src/**/*.java'
googleJavaFormat('1.19.2') indentWithSpaces(2)
.aosp() trimTrailingWhitespace()
.reflowLongStrings() endWithNewline()
// removeUnusedImports()
importOrder() importOrder()
removeUnusedImports()
formatAnnotations() formatAnnotations()
// indentWithSpaces는 google-java-format에는 영향 없음
// indent control 불가 → 필요하면 google-java-format 제거해야 함
} }
} }
// Run spotlessCheck before build // Run spotlessCheck before build
tasks.named('build') { tasks.named('build') {
dependsOn 'spotlessCheck' dependsOn 'spotlessCheck'

View File

@@ -29,7 +29,8 @@ public class AnimalDto {
@Getter @Getter
public static class Basic { public static class Basic {
@JsonIgnore private Long id; @JsonIgnore
private Long id;
private String uuid; private String uuid;
private Category category; private Category category;
private Species species; private Species species;

View File

@@ -27,7 +27,8 @@ public class ZooDto {
@Getter @Getter
public static class Basic { public static class Basic {
@JsonIgnore private Long id; @JsonIgnore
private Long id;
private String uuid; private String uuid;
private String name; private String name;
private String location; private String location;