com.zcj.util.coder.annotation.CodeTextarea Maven / Gradle / Ivy
package com.zcj.util.coder.annotation;
import com.zcj.util.coder.database.TableColumnType;
import com.zcj.util.coder.java.query.QueryColumnType;
import com.zcj.util.coder.page.PageColumnType;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.*;
/**
* 多行文本类型
*
* @author [email protected]
* @since 2019/10/11
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@TableColumnType(length = 1000)
@QueryColumnType
@PageColumnType(type = "textarea", modifyLineAlone = true)
public @interface CodeTextarea {
@AliasFor(annotation = QueryColumnType.class, attribute = "value")
String[] queryValue() default {};
@AliasFor(annotation = PageColumnType.class)
String modifyAuxWord() default "";
@AliasFor(annotation = PageColumnType.class)
boolean must() default false;
@AliasFor(annotation = PageColumnType.class)
String defaultValue() default "";
@AliasFor(annotation = PageColumnType.class)
int orderSearch() default 999;
@AliasFor(annotation = PageColumnType.class)
int orderGrid() default 999;
@AliasFor(annotation = PageColumnType.class)
int orderModify() default 999;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy