All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quhaodian.data.annotations.FormFieldAnnotation Maven / Gradle / Ivy

The newest version!
package com.quhaodian.data.annotations;


import java.lang.annotation.*;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FormFieldAnnotation {


    boolean ignore() default false;


    boolean  grid() default false;

    String title() default "";

    /**
     * 排序号
     *
     * @return
     */
    String sortNum() default "0";

    /**
     * 输入框类型
     *
     * @return
     */
    InputType type() default InputType.text;


    /**
     * 列表bootstrap栅格大小
     *
     * @return
     */
    ColType col() default ColType.col_none;

    /**
     * css类名
     *
     * @return
     */
    String className() default "form-control";

    /**
     * 数据框id
     *
     * @return
     */
    String id() default "";

    /**
     * 输入框提示信息
     *
     * @return
     */
    String placeholder() default "";

    /**
     * 是否是搜索字段
     *
     * @return
     */
    boolean search() default false;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy