com.github.aidensuen.mongo.annotation.Delete Maven / Gradle / Ivy
package com.github.aidensuen.mongo.annotation;
import com.github.aidensuen.mongo.command.OperationType;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Delete {
String method() default "dynamicCommand";
OperationType operationType() default OperationType.UNKNOWN;
/**
* class that determines the collection to use
*
* @return
*/
Class> entityClass() default Object.class;
}