@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 727 B
Markdown
lang: en
title: 'API docs: repository.model.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.model.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [Model](./repository.model.md) > [(constructor)](./repository.model.(constructor).md)
## Model.(constructor)
Constructs a new instance of the `Model` class
<b>Signature:</b>
```typescript
constructor(data?: DataObject<Model>);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| data | <code>DataObject<Model></code> | |