> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.ProjectTypeEntity

# <a id="SuperOffice_WebApi_Data_ProjectTypeEntity" /> Class ProjectTypeEntity

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for ProjectTypeEntity.

```csharp theme={null}
public class ProjectTypeEntity : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ProjectTypeEntity](SuperOffice.WebApi.Data.ProjectTypeEntity.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get ProjectTypeEntity 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ListAgent(configuration);
var projectTypeEntity = agent.GetProjectTypeEntity( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity__ctor" /> ProjectTypeEntity()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public ProjectTypeEntity()
```

## Properties

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_Deleted" /> Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

```csharp theme={null}
public virtual bool Deleted { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_DurationUnit" /> DurationUnit

Units for the duration
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public DurationUnit? DurationUnit { get; set; }
```

#### Property Value

[DurationUnit](SuperOffice.WebApi.Data.DurationUnit.md)?

#### See Also

[ProjectTypeEntity](SuperOffice.WebApi.Data.ProjectTypeEntity.md).[DurationUnit\_String](SuperOffice.WebApi.Data.ProjectTypeEntity.md#SuperOffice_WebApi_Data_ProjectTypeEntity_DurationUnit_String)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_DurationUnit_String" /> DurationUnit\_String

Units for the duration
Raw string enum value.

```csharp theme={null}
[JsonProperty("DurationUnit")]
public string DurationUnit_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[ProjectTypeEntity](SuperOffice.WebApi.Data.ProjectTypeEntity.md).[DurationUnit](SuperOffice.WebApi.Data.ProjectTypeEntity.md#SuperOffice_WebApi_Data_ProjectTypeEntity_DurationUnit)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_HasGuide" /> HasGuide

Does this project type have a guide attached

```csharp theme={null}
public virtual bool HasGuide { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_IsAutoAdvance" /> IsAutoAdvance

Does the project status advance automatically, when the last guided activity in a status is completed?

```csharp theme={null}
public virtual bool IsAutoAdvance { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_Name" /> Name

The list item

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_ProjTypeId" /> ProjTypeId

Primary key

```csharp theme={null}
public virtual int ProjTypeId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_ProjectDuration" /> ProjectDuration

Expected duration of project, in given units

```csharp theme={null}
public virtual int ProjectDuration { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_Rank" /> Rank

Rank order

```csharp theme={null}
public virtual short Rank { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_Stages" /> Stages

Stages (project statuses), those associated with this ProjType are selected.

```csharp theme={null}
public virtual SelectableMDOListItem[] Stages { get; set; }
```

#### Property Value

[SelectableMDOListItem](SuperOffice.WebApi.Data.SelectableMDOListItem.md)\[]

### <a id="SuperOffice_WebApi_Data_ProjectTypeEntity_Tooltip" /> Tooltip

Tooltip or other description

```csharp theme={null}
public virtual string Tooltip { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[ListAgent](SuperOffice.WebApi.Agents.ListAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [SuperOffice.WebApi.Data.ProjectEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.ProjectEntity.md)
- [SuperOffice.WebApi.Data.Carrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.Carrier.md)
- [SuperOffice.WebApi.Data.ProjectEventEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.ProjectEventEntity.md)
- [SuperOffice.WebApi.Data.SuggestedAppointmentEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.SuggestedAppointmentEntity.md)
