package com.brframework.commoncms.annatotion;

import com.brframework.commoncms.annatotion.option.CmsOption;
import com.brframework.commoncms.core.layout.PanelLayout;

import java.lang.annotation.*;

/**
 * @author xu
 * @date 2018/9/26 17:27
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Panel {
    /**
     * layout 类型
     * @return
     */
    Class<? extends PanelLayout> type();

    /**
     * 操作模块
     * @return
     */
    CmsOption[] options() default {};


}
