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.LayoutTextAreaColumn;
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 xu
 * @date 2018/9/27 21:05
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@LayoutColumn(type = LayoutTextAreaColumn.class)
@Column
public @interface TextAreaColumn {
    /**
     * 列表展示时，该列是否处于显示状态，可控制列表中，默认隐藏和显示的列
     */
    @AliasFor(annotation = Column.class)
    boolean selectShow() default true;
}
