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

io.lhysin.mybatis.ddd.spec.Column Maven / Gradle / Ivy

There is a newer version: 1.1.4-REALESE
Show newest version
package io.lhysin.mybatis.ddd.spec;

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

/**
 * Table Column
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {

    /**
     * @return Column Name
     */
    String name();

    /**
     * @return available insert column
     */
    boolean insertable() default true;

    /**
     * @return available update column
     */
    boolean updatable() default true;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy