<?php
|
declare(strict_types=1);
|
|
namespace App\LegacyImport;
|
|
class ImportReport {
|
public int $books = 0;
|
public int $oustedBooks = 0;
|
public int $borrows = 0;
|
public int $borrowHistory = 0;
|
public int $oustedBorrowHistory = 0;
|
|
/** Legacy books whose ID is already taken in the target; they and their loans were left as they are. */
|
public int $alreadyPresent = 0;
|
|
/** @var list<string> Rows that have no place in the new schema and were left out. */
|
public array $skipped = [];
|
|
/** @var list<string> Numbers that are not valid ISBNs, kept as text labels instead. */
|
public array $invalidIsbns = [];
|
}
|