datasetId = $datasetId; $this->userId = $userId; } public function startRow(): int { return 6; } public function model(array $row) { return new DatasetTable30([ 'dataset_id' => $this->datasetId, 'created_by' => $this->userId, 'nama' => $row[0], 'lokasi' => $row[1], 'waktu_sampling' => $row[2], 'lat' => $row[3], 'long' => $row[4], 'temperatur' => $row[5], 'residu_terlarut' => $row[6], 'residu_tersuspensi' => $row[7], 'ph' => $row[8], 'dhl' => $row[9], 'tds' => $row[10], 'tss' => $row[11], 'do' => $row[12], 'bod' => $row[13], 'cod' => $row[14], 'no2' => $row[15], 'no3' => $row[16], 'nh3' => $row[17], 'klorin_bebas' => $row[18], 'tp' => $row[19], 'fenol' => $row[20], 'minyak_lemak' => $row[21], 'detergen' => $row[22], 'fecal_coliform' => $row[23], 'total_coliform' => $row[24], 'sianida' => $row[25], 'h2s' => $row[26], ]); } }