---
lang: en
title: 'API docs: repository.relationdefinitionbase.source'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.relationdefinitionbase.source.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; [source](./repository.relationdefinitionbase.source.md)

## RelationDefinitionBase.source property

The source model of this relation.

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

<b>Signature:</b>

```typescript
source: typeof Entity;
```

