com.quhaodian.data.annotations.FormFieldAnnotation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate_common Show documentation
Show all versions of hibernate_common Show documentation
discover_hibernate_common is a lib for hibernate
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;
}