https://blog.csdn.net/su20145...
1. package com.susu;
3. import java.lang.annotation.ElementType;
4. import java.lang.annotation.Retention;
5. import java.lang.annotation.RetentionPolicy;
6. import java.lang.annotation.Target;
7. @Retention(RetentionPolicy.RUNTIME)
8. @Target(ElementType.TYPE)
9. public @interface Table {
10. String value();
1. package com.susu;
3. import java.lang.annotation.ElementType;
4. import java.lang.annotation.Retention;
5. import java.lang.annotation.RetentionPolicy;
6. import java.lang.annotation.Target;
8. @Retention(RetentionPolicy.RUNTIME)
9. @Target(ElementType.FIELD)
10. public @interface Column {
11. String value();
写了这么多代码是为了架构设计?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…