注释接口 MappedSuperclass


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface MappedSuperclass
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
    Can the current type be super type of derived types of any microservices.
    Can only be specified when `acrossMicroServices` is not specified
  • 元素详细资料

    • acrossMicroServices

      boolean acrossMicroServices
      Can the current type be super type of derived types of any microservices.
      • If this value is set to true,
        • `microServiceName` cannot be specified
        • Association property cannot be declared
        , that means current type be super type of derived types of any microservices.
      • Otherwise, the `microServiceName` of this annotation must be equal to the configuration of derived types
      默认值:
      false
    • microServiceName

      String microServiceName
      Can only be specified when `acrossMicroServices` is not specified
      默认值:
      ""