com.huoguo.batch.annotation.BatchLogic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-batch Show documentation
Show all versions of simple-batch Show documentation
This is simple based batch write operation tool
The newest version!
package com.huoguo.batch.annotation;
import java.lang.annotation.*;
/**
* 逻辑删除字段注解
*
* @author Lizhenghuang
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface BatchLogic {
/**
* 注解默认值
*
* @return 列名字符串
*/
@Deprecated
String value() default "";
/**
* 注解默认值
*
* @return 默认值 删除前
*/
String before() default "0";
/**
* 注解默认值
*
* @return 默认值 删除后
*/
String after() default "1";
}