package com.brframework.commoncms.annatotion.column;


import com.brframework.commoncms.annatotion.Column;
import com.brframework.commoncms.annatotion.LayoutColumn;
import com.brframework.commoncms.core.layout.column.LayoutTagColumn;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 揭光智
 * @date 2019/04/26
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@LayoutColumn(type = LayoutTagColumn.class)
@Column
public @interface TagColumn {

    /**
     * 列表展示时，该列是否处于显示状态，可控制列表中，默认隐藏和显示的列
     */
    @AliasFor(annotation = Column.class)
    boolean selectShow() default true;
}
