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

cn.xuqiudong.common.base.aspect.annotation.RepeatCommitVersion Maven / Gradle / Ivy

package cn.xuqiudong.common.base.aspect.annotation;

import java.lang.annotation.*;

/**
 * 描述: 表单重复提交验证
 * @author Vic.xu
 * @date 2022-03-16 10:28
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
@Inherited
public @interface RepeatCommitVersion {

    /**
     * table name
     */
    String table();

    /**
     * version  column in table
     */
    String column() default "version";

    /**
     * version name in form input  
     */
    String versionAttribute() default "version";

    /**
     * id name in  form
     */
    String idAttribute() default "id";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy