---
url: /nestjs-odata/api/generated/interfaces/EdmProperty.md
---
# Interface: EdmProperty

Defined in: [edm/edm-types.ts:26](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L26)

A structural property of an EDM entity type

## Properties

### computed?

> `readonly` `optional` **computed?**: `boolean`

Defined in: [edm/edm-types.ts:38](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L38)

Computed by the service (`Core.Computed`): creation/update timestamps, version counters,
generated columns. Clients may send it, but the service ignores the value on writes
(OData-Protocol 4.01 §11.4.2, §11.4.3).

***

### maxLength?

> `readonly` `optional` **maxLength?**: `number`

Defined in: [edm/edm-types.ts:32](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L32)

***

### name

> `readonly` **name**: `string`

Defined in: [edm/edm-types.ts:27](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L27)

***

### nullable

> `readonly` **nullable**: `boolean`

Defined in: [edm/edm-types.ts:29](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L29)

***

### precision?

> `readonly` `optional` **precision?**: `number`

Defined in: [edm/edm-types.ts:30](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L30)

***

### scale?

> `readonly` `optional` **scale?**: `number`

Defined in: [edm/edm-types.ts:31](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L31)

***

### type

> `readonly` **type**: [`EdmPrimitiveType`](../type-aliases/EdmPrimitiveType.md)

Defined in: [edm/edm-types.ts:28](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/edm/edm-types.ts#L28)
