package com.brframework.commoncms.annatotion.layout;

import com.brframework.commoncms.annatotion.Panel;
import com.brframework.commoncms.annatotion.option.CmsOption;
import com.brframework.commoncms.core.layout.layout.PanelListPageLayout;
import com.brframework.commoncms.core.layout.layout.PanelViewLayout;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * 分页管理面板
 * @author xu
 * @date 2018/9/26 16:54
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Panel(type = PanelViewLayout.class)
public @interface ViewLayout {

    /**
     * 数据填充的URL
     * @return
     */
    String paddingUrl() default "";

    /**
     * 填充数据对应的方法名映射
     * @return
     */
    String paddingMappingMethod() default "";

}
