Jacek Kowalski
4 hours ago 6b9278a5d57091fce636dbb640b380cfb990db6c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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 = [];
}