NAM-APJATEL-BACKEND/model/dto/req
unknown 9ae9de471d fix: make fishbone dev_end_id optional (nullable)
DeviceEndID was uuid.UUID (non-nullable) in entity, DTO, and response.
Sending empty string from the frontend caused "invalid uuid" parse error.

Changed to *uuid.UUID throughout. CreateFishbone now skips end device
lookup, type validation, port check, and port-usage update when
DeviceEndID is nil. UpdateFishbone pointer comparisons fixed accordingly.

Run once on DB: ALTER TABLE fishbone ALTER COLUMN dev_end_id DROP NOT NULL;

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:56:23 +07:00
..
backbone_dto.go adding backbone code 2025-04-03 21:57:40 +07:00
cable_connections.go adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
deviceDetails.go fix: port assignment bulk update 2025-07-16 08:58:19 +07:00
devicePort_dto.go fix: port assignment bulk update 2025-07-16 08:58:19 +07:00
device_dto.go adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
device_inspections_dto.go adding nearest device and some addtion feature more complex 2025-06-11 22:48:11 +07:00
fishbone_dto.go fix: make fishbone dev_end_id optional (nullable) 2026-04-11 16:56:23 +07:00
nearest_devices.go adding radiation odp search 2026-04-11 14:25:12 +07:00
nearest_towers.go adding nearest device for towers 2025-06-18 16:42:03 +07:00
olt.go adding olt 2025-06-23 10:21:00 +07:00
tower_dto.go adding multiple images create and update also for the responses 2025-06-15 23:00:25 +07:00