Coflyr · Backend model field catalog
ProjectEvent
Events.ProjectEvents.
16 mapped fields6 field groupsGenerated 2026-10-08
Every mapped scalar field appears once. Types and nullability come from the current backend EF model; database migration is pending. Navigation properties and unmapped DTO fields are outside this page. Purpose text is inferred from names and should be checked against the feature workflow.
← All model classes · AMOS Workpackage example
Under development · DB pending. One occurrence, with a shared lifecycle, source identity, calendar dates and concurrency version. Event framework details.
Identity and naming
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | Id | Guid | Required | Stable identifier for this record. |
| 2 | EventNumber | string | Required | Unique human-readable occurrence reference; source adapters prefix the source model name. |
| 3 | Title | string | Required | Records title for this project event. |
Relationships and references
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | EventDefinitionId | Guid | Required | Selects the reusable shared event definition. For Requirements with Event scope, this is its primary owner. |
| 2 | ParentEventId | Guid? | Nullable | Optional immutable parent occurrence, such as a follow-up or event within a larger event. |
| 3 | SourceNodeId | Guid? | Nullable | Unique EntityNode identity of the originating domain event; null for a standalone shared occurrence. |
Status and controls
2 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | EventStatus | ProjectEventStatus { Draft, Planned, InProgress, OnHold, Completed, Cancelled }EF: ProjectEventStatus | Required | Shared lifecycle state. Completed and Cancelled are terminal; lifecycle changes create history. |
| 2 | RequiresCompletionEvidence | bool | Required | Requires evidence before completion. The occurrence stores the definition setting at creation. |
Dates and timing
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | DueAt | DateTime? | Nullable | Optional calendar deadline. Numeric counter deadlines remain in the structured maintenance limit engine. |
| 2 | PlannedEndAt | DateTime? | Nullable | UTC scheduling end; cannot precede the planned start. |
| 3 | PlannedStartAt | DateTime? | Nullable | UTC scheduling start; separate from a maintenance counter deadline. |
Audit and revision
2 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | SystemAuditId | Guid? | Nullable | Links to system audit history when this model stores the reference. |
| 2 | UpdateId | Guid? | Nullable | Links to the preceding revision or update record. |
Other fields
3 fields| # | Field | Model / EF type | Storage | Business purpose |
|---|---|---|---|---|
| 1 | CompletedAt | DateTime? | Nullable | Actual UTC completion time; present only for a Completed occurrence. |
| 2 | OccurredAt | DateTime | Required | UTC time when the occurrence was raised or recorded. |
| 3 | Version | int | Required | Concurrency token, incremented on each controlled update; clients send it as ExpectedVersion. |