Feat:动态代码编译引擎成熟!
This commit is contained in:
parent
4bfc72dcea
commit
8798d4784d
@ -6,6 +6,8 @@ import com.flyfish.framework.domain.base.Qo;
|
||||
import com.flyfish.framework.repository.DefaultRepository;
|
||||
import com.flyfish.framework.service.BaseService;
|
||||
import com.flyfish.framework.service.impl.BaseServiceImpl;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@ -17,6 +19,7 @@ import java.lang.annotation.*;
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Document
|
||||
public @interface RestBean {
|
||||
|
||||
/**
|
||||
@ -24,6 +27,7 @@ public @interface RestBean {
|
||||
*
|
||||
* @return 资源名称
|
||||
*/
|
||||
@AliasFor(value = "collection", annotation = Document.class)
|
||||
String value() default "";
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user