diff --git a/backend/src/main/java/org/ftclub/cabinet/utils/annotations/ComplexRepository.java b/backend/src/main/java/org/ftclub/cabinet/utils/annotations/ComplexRepository.java new file mode 100644 index 000000000..81a7f1f03 --- /dev/null +++ b/backend/src/main/java/org/ftclub/cabinet/utils/annotations/ComplexRepository.java @@ -0,0 +1,12 @@ +package org.ftclub.cabinet.utils.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target({ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +public @interface ComplexRepository { + Class[] entityClass() default Object[].class; +}