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

com.mars.mj.annotation.MarsUpdate Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package com.mars.mj.annotation;

import com.mars.mj.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();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy