Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "annotations/property/foreign"

Index

Functions

Functions

Const foreign

  • foreign(constructor: object, navigatorName: string, fieldName?: undefined | string): (Anonymous function)
  • 用来注解实体模型中的外键字段

    Parameters

    • constructor: object

      外键关联实体的构造函数

    • navigatorName: string

      导航名称

    • Optional fieldName: undefined | string

      字段别名

    Returns (Anonymous function)

Generated using TypeDoc