# ObjectClassDecl

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectClassDecl/

Object class for declarative configuration.

- **Full name:** `MFiles.ObjectClassDecl`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-base_info"></a>`base_info` | [`ValueListItemDecl`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ValueListItemDecl/index.md) | 1 | Value list item representing this element. |
| <a id="f-aliases"></a>`aliases` | `string` | 2 | Semicolon-separated list of semantic aliases. |
| <a id="f-object_type"></a>`object_type` | `int32` | 3 | The object type with which this class is used. |
| <a id="f-is_predefined"></a>`is_predefined` | `bool` | 4 | True if this is a predefined class (cannot be deleted, editing is restricted). |
| <a id="f-associated_property_defs"></a>`associated_property_defs` | repeated [`AssociatedPropertyDef`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AssociatedPropertyDef/index.md) | 5 | PropertyDefs associated with this class. |
| <a id="f-name_property_def"></a>`name_property_def` | `int32` | 6 | The ID of the property definition that represents the name of the document or other object. Typically PROPERTYDEF_TITLE (0). |
| <a id="f-default_workflow"></a>`default_workflow` | `int32` | 7 | The default workflow of the document class, or zero if there is no default workflow. |
| <a id="f-force_workflow"></a>`force_workflow` | `bool` | 8 | True if the use of the specified workflow is forced. |
| <a id="f-acl"></a>`acl` | [`AccessControlList`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AccessControlList/index.md) | 9 | Specifies the ACL that defines the visibility and other permission settings of this class. Also specifies who can attach objects to this class. |
| <a id="f-signature_settings_for_new_objects"></a>`signature_settings_for_new_objects` | [`ElectronicSignatureSettings`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElectronicSignatureSettings/index.md) | 10 | The electronic signature settings for creating an electronic signature for new objects. Reserved for future improvements. |
| <a id="f-assignment_class_info"></a>`assignment_class_info` | [`AssignmentClassInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AssignmentClassInfo/index.md) | 11 | Assignment class info. |
| <a id="f-unknown_json"></a>`unknown_json` | `string` | 12 | Opaque JSON object of schema-recognized, converter-unmapped properties for this element, keyed by original property name. |

<a id="used-in-fields"></a>

## Used in fields

- [`DeclarativeMetadataStructure.classes`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DeclarativeMetadataStructure/index.md#f-classes): An array of the ObjectClassDecl structures.
