import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* bean config
* @author Reed.Mu
* Date 2008-7-28
* V 1.0
*/
public class DBConfigTag {
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Filed{
String name();
String type();
}
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Table{
String name();
String pk();
}
}
bean config
最新推荐文章于 2021-11-01 18:43:43 发布