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

titan.lightbatis.annotations.LogicDelete Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
/**
 *
 */
package titan.lightbatis.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
/**
 * 逻辑删除
 */
public @interface LogicDelete {

    /**
     * 删除
     * @return
     */
    int isDeleted() default 1;

    /**
     * 没有删除
     * @return
     */
    int noDeleted() default 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy