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

com.mars.jdbc.core.annotation.MarsUpdate Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
package com.mars.jdbc.core.annotation;

import com.mars.jdbc.core.annotation.enums.OperType;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MarsUpdate {

    /**
     * 表名
     * @return
     */
    String tableName();

    /**
     * 主键名称
     * @return
     */
    String primaryKey() default "";

    /**
     * 操作类型
     * @return
     */
    OperType operType();

    /**
     * 条件
     * @return
     */
    String where() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy