---
lang: en
title: 'API docs: repository.valueobject'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.valueobject.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ValueObject](./repository.valueobject.md)

## ValueObject class

Base class for value objects - An object that contains attributes but has no conceptual identity. They should be treated as immutable.

<b>Signature:</b>

```typescript
export declare abstract class ValueObject extends Model implements Persistable 
```
<b>Extends:</b> [Model](./repository.model.md)

<b>Implements:</b> [Persistable](./repository.persistable.md)


