Coflyr · Backend model field catalog
RecordProductionResourceUsageRequest
No mapped database table.
8 C# properties4 field groupsGenerated 2026-10-08
This C# model is not mapped as an EF entity. Public properties come from compiled type metadata, including inherited properties; they are API or in-memory fields rather than table columns. Purpose text is inferred from names and should be checked against the feature workflow.
← All model classes · AMOS Workpackage example
Under development · DB pending. Input for actual UTC tool/facility/aircraft usage, optionally linked to its planned assignment. Common production framework.
Relationships and references
3 fields| # | Property | Model / EF type | Nullability | Business purpose |
|---|---|---|---|---|
| 1 | ExecutionTaskId | Guid | Required | Run task owning this record. For holds/quality gates, null means package-wide scope; a composite foreign key prevents cross-run references. |
| 2 | ResourceNodeId | Guid | Required | EntityNode of the actual resource. Its entity type must match ResourceKind. |
| 3 | ResourceAssignmentId | Guid? | Nullable | Optional existing WorkStepResourceAssignment for the same step and resource. |
Dates and timing
2 fields| # | Property | Model / EF type | Nullability | Business purpose |
|---|---|---|---|---|
| 1 | StartedAt | DateTime | Required | First actual production start time. Staff labor metrics include finalized bookings starting at or after this time. |
| 2 | EndedAt | DateTime | Required | Actual UTC hold clearance/resource usage end. Usage intervals must have a positive duration. |
Descriptions and details
1 fields| # | Property | Model / EF type | Nullability | Business purpose |
|---|---|---|---|---|
| 1 | Remarks | string? | Nullable | Optional acceptance/resource explanation. |
Other fields
2 fields| # | Property | Model / EF type | Nullability | Business purpose |
|---|---|---|---|---|
| 1 | ExpectedVersion | int | Required | Version read by the client. Stale requests must reload and retry. |
| 2 | ResourceKind | ProductionResourceKind { Tool, Facility, Aircraft }EF: ProductionResourceKind | Required | Tool, Facility or Aircraft. Staff labor is recorded in the existing StaffTimeBooking table. |