
org.nutz.dao.enhance.annotation.LastModifiedDate Maven / Gradle / Ivy
package org.nutz.dao.enhance.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author 黄川 [email protected]
* 2020/9/13
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD, ElementType.FIELD})
public @interface LastModifiedDate {
/**
* nullEffective=true时上面的赋值规则要起效必须是在[当前字段==null]时才能生效
*/
boolean nullEffective() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy