# Class ApprovalModel OptimaJet.Workflow.Api.Models.ApprovalModel Approval Model. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record ApprovalModel : IEquatable ``` ## Type Hierarchy - ApprovalModel Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public ApprovalModel(Guid Id, Guid ProcessId, string? IdentityId, List AllowedTo, DateTime? TransitionTime, long Sort, string InitialState, string DestinationState, string? TriggerName, string? Commentary, string? LocalizedInitialState = null, string? LocalizedDestinationState = null, string? LocalizedTriggerName = null)` Approval Model. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Id` | `Guid` | The approval ID. | | `ProcessId` | `Guid` | The process ID. | | `IdentityId` | `String` | The identity ID. | | `AllowedTo` | `List` | The identities allowed to approve. | | `TransitionTime` | `Nullable` | The transition time. | | `Sort` | `Int64` | The sort order. | | `InitialState` | `String` | The original initial state name. | | `DestinationState` | `String` | The original destination state name. | | `TriggerName` | `String` | The original trigger name. | | `Commentary` | `String` | The approval commentary. | | `LocalizedInitialState` | `String` | The initial state name localized using the request culture. | | `LocalizedDestinationState` | `String` | The destination state name localized using the request culture. | | `LocalizedTriggerName` | `String` | The trigger name localized using the request culture. | ## Properties ### `public Guid Id { get; init; }` The approval ID. ### `public Guid ProcessId { get; init; }` The process ID. ### `public string? IdentityId { get; init; }` The identity ID. ### `public List AllowedTo { get; init; }` The identities allowed to approve. ### `public DateTime? TransitionTime { get; init; }` The transition time. ### `public long Sort { get; init; }` The sort order. ### `public string InitialState { get; init; }` The original initial state name. ### `public string DestinationState { get; init; }` The original destination state name. ### `public string? TriggerName { get; init; }` The original trigger name. ### `public string? Commentary { get; init; }` The approval commentary. ### `public string? LocalizedInitialState { get; init; }` The initial state name localized using the request culture. ### `public string? LocalizedDestinationState { get; init; }` The destination state name localized using the request culture. ### `public string? LocalizedTriggerName { get; init; }` The trigger name localized using the request culture. [Previous ApprovalField](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ApprovalField/) [Next BulkCreateInstanceRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/BulkCreateInstanceRequest/)