shoc-backend/Data.SeaHavenIndustries/Models
Alexandre Brandizzi e5cf4cec09 merge: integrate origin/dev into PR #22 flag-color base
Brings in dev's Phase 5 (PR #17) + vendor PRs (#25/#28/#29) atop the
Phase 6/7 + flagColor base (PR #22). Preserves dev Phase 1-5 behavior and
PR #22 Phase 6/7 + flagColor behavior.

Conflict resolutions (16 files):
- Migrations Phase4_SearchIndexes/.Designer + Phase5_DomainEvents/.Designer:
  take dev (Phase4 incl. SQL Server SiteCode/InternalWONumber index-compat
  shrink fix; Phase5 identical). ModelSnapshot union: Vendor CompanyId index
  + Phase7 ServiceNotes/ExternalWorkOrderId index.
- ApplicationDbContext: keep dev SiteCode/InternalWONumber MaxLength (Phase1-5
  + unguarded model test) + HEAD CompletionDocTemplate/ExternalWorkOrderId.
- WorkOrderAuditService: unify on dev async staging API; convert Phase6
  CompletionService 2 call sites to await StageFieldChangedAsync (drops
  HEAD sync duplicate; only callers, no test refs).
- Hosted services: take HEAD (retry-on-failure, coherent with Phase7
  WorkOrderJobRunStateAccessor/OpsHealth). Program.cs keeps dev vendor DI
  (ClamAV/VendorDocumentScanWorker/ArgumentExceptionFilter) + HEAD Phase7.
- WorkOrderController: keep HEAD Phase6/7 service params + dev doc comment.
- VendorController/WorkOrderBoardCreateService/QueryFilters/appsettings:
  union / dev-correct.
- WorkOrderBoardUpdateServiceTests: union of HEAD (Phase6/7+flagColor) and
  dev (Phase1-5) test methods.

Verified WorkOrderType.Other (enum 99) is a legit category, not an overdue
sentinel; overdue uses dedicated OperationalFlags.PastDue + IsPastDue, and
'Overdue' is rejected as a WorkOrderType (no PR #23 import needed).

Removed dev duplicate Api.Options.WorkOrderJobRunState (HEAD defines it in
Services.Implementation alongside the Accessor; Services cannot reference Api).
2026-07-24 14:20:16 -03:00
..
Accounts.cs added new controllers 2026-01-21 15:41:19 -06:00
Addresses.cs added new controllers 2026-01-21 15:41:19 -06:00
Assets.cs added new controllers 2026-01-21 15:41:19 -06:00
Category.cs Initial commit 2024-09-28 14:58:36 -04:00
Comments.cs Add dispatch detail modal backend + vendor reply sync 2026-04-17 14:01:03 -04:00
CompletionDocTemplate.cs feat(work-orders): add Phase 6 completion templates schema and media category 2026-07-13 13:12:07 -03:00
ContactDetails.cs added new controllers 2026-01-21 15:41:19 -06:00
Contacts.cs fix 2026-01-21 16:24:54 -06:00
Dispatch.cs merge: integrate origin/dev into PR #22 flag-color base 2026-07-24 14:20:16 -03:00
DispatchChecklistItem.cs Add dispatch checklist items with template support 2026-04-17 15:28:52 -04:00
DispatchSignoff.cs Add dispatch sign-offs with signature capture 2026-04-17 15:51:20 -04:00
DispatchUpliftRequest.cs Add NTE uplift workflow and vendor PO detail API 2026-04-20 13:25:56 -04:00
DispatchWorkOrder.cs Add multi-WO dispatch support with junction table 2026-04-17 15:16:28 -04:00
DropdownOption.cs Add configurable dropdowns, new WO fields, and seed data 2026-04-17 10:40:38 -04:00
Employee.cs backend architectural template 2026-05-06 10:49:33 -05:00
Events.cs Add calendar/events backend API (#8) 2026-06-22 18:46:46 -04:00
FollowUps.cs added new controllers 2026-01-21 15:41:19 -06:00
ForgetPasswordCode.cs Initial commit 2024-09-28 14:58:36 -04:00
LinkedWorkOrderInfo.cs feat(vendors): complete core vendor workflows 2026-07-23 17:02:40 -03:00
Locations.cs refactor 2026-04-28 18:55:14 -05:00
PMSchedules.cs added new controllers 2026-01-21 15:41:19 -06:00
Quotes.cs Initial commit 2024-09-28 14:58:36 -04:00
SitePreferredVendor.cs feat(vendors): complete operations roadmap backend 2026-07-23 19:18:06 -03:00
TaskListTemplate.cs Add Task List Templates with CRUD controller 2026-04-17 14:57:18 -04:00
TaskListTemplateItem.cs Add Task List Templates with CRUD controller 2026-04-17 14:57:18 -04:00
Template.cs Initial commit 2024-09-28 14:58:36 -04:00
Vendor.cs feat(vendors): complete operations roadmap backend 2026-07-23 19:18:06 -03:00
VendorAccessToken.cs Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00
VendorAuditLog.cs feat(vendors): complete core vendor workflows 2026-07-23 17:02:40 -03:00
VendorCompany.cs feat(vendors): complete core vendor workflows 2026-07-23 17:02:40 -03:00
VendorCompletionDocument.cs feat(vendors): complete operations roadmap backend 2026-07-23 19:18:06 -03:00
WorkerOrder.cs merge: integrate origin/dev into PR #22 flag-color base 2026-07-24 14:20:16 -03:00
WorkOrderAttachments.cs feat(work-orders): add Phase 6 completion templates schema and media category 2026-07-13 13:12:07 -03:00
WorkOrderAuditLog.cs feat(work-orders): add domain enums and aggregate root fields 2026-07-02 09:17:59 -03:00
WorkOrderCategories.cs Initial commit 2024-09-28 14:58:36 -04:00
WorkOrderContacts.cs feat(work-orders): add domain enums and aggregate root fields 2026-07-02 09:17:59 -03:00
WorkOrderFieldLock.cs feat(work-orders): add domain enums and aggregate root fields 2026-07-02 09:17:59 -03:00
WorkOrderWeekRolledLedger.cs feat(work-orders): add Phase 5 scheduled domain events (WeekRolled) 2026-07-24 10:13:17 -03:00