AI Unified Process persistence layer with Spring Data JPA - entities, repositories, and repository tests
95
96%
Does it follow best practices?
Impact
91%
1.12xAverage score across 3 eval scenarios
Passed
No findings from the security scan
The source file UseCase.java, wrapped in Markdown so that every skill host installs it.
Use the content of the code block below; a copy written to disk takes the name UseCase.java.
package com.example.hotel.usecase;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface UseCase {
String id();
String scenario() default "Main Success Scenario";
String[] businessRules() default {};
String[] requirements() default {};
}