package res import ( "time" "github.com/google/uuid" ) type DeviceResponse struct { ID uuid.UUID `json:"id"` DeviceCode string `json:"device_code"` DeviceType string `json:"device_type"` Longitude float64 `json:"longitude"` Latitude float64 `json:"latitude"` PortAmount int `json:"port_amount"` Status string `json:"status"` Address string `json:"address"` Region *string `json:"region"` Province *string `json:"province"` City *string `json:"city"` District *string `json:"district"` ImageURL *string `json:"image_url"` // Primary image ImageURLs []string `json:"image_urls"` // All images CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } // Bulk Operation Response type BulkDeviceOperationResponse struct { TotalRequested int `json:"total_requested"` Successful int `json:"successful"` Failed int `json:"failed"` Errors []BulkDeviceError `json:"errors,omitempty"` Results []DeviceResponse `json:"results,omitempty"` ExecutionTime string `json:"execution_time"` } type BulkDeviceError struct { Index int `json:"index"` Error string `json:"error"` Details string `json:"details,omitempty"` }