Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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();

写了这么多代码是为了架构设计?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.8k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...