---
lang: en
title: 'API docs: repository.relationdefinitionbase.target'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.relationdefinitionbase.target.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RelationDefinitionBase](./repository.relationdefinitionbase.md) &gt; [target](./repository.relationdefinitionbase.target.md)

## RelationDefinitionBase.target property

The target model of this relation.

E.g. when a Customer has many Order instances, then Order is the target.

<b>Signature:</b>

```typescript
target: TypeResolver<Entity, typeof Entity>;
```

