注释接口 IdView


@Documented @Retention(RUNTIME) @Target(allowedTargets=PROPERTY) @Target(METHOD) public @interface IdView
For example,

 public interface Book {

     @ManyToOne
     BookStore store();

     @OneToMany
     List<Author> authors();

     @IdView
     Long storeId();

     @IdView("authors")
     List<Long> authorIds();
 }
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
     
  • 元素详细资料

    • value

      String value
      默认值:
      ""