# DuplicateFieldConstraint

Represents a duplicate constraint which needs to apply when saving entities

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **boolean** | The check will be performed if the field is true | [optional] [default to undefined]
**dataField** | **string** | The ENUM data field when the field is an ENUM | [optional] [default to undefined]
**dataItemType** | **string** | Represents the type of the owner (entity) to whom a data field belongs to (loans, savings, client, group, repayments, transactions, activities etc.) | [optional] [default to undefined]
**encodedKey** | **string** | The encoded key of the duplicate field constraint, auto generated, unique | [optional] [default to undefined]
**groupIndex** | **number** | Used for creating an AND clause between constraints | [optional] [default to undefined]

## Example

```typescript
import { DuplicateFieldConstraint } from './api';

const instance: DuplicateFieldConstraint = {
    active,
    dataField,
    dataItemType,
    encodedKey,
    groupIndex,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
