SearchFilters.php: rework
This commit is contained in:
parent
40f604ec24
commit
ecd5681e71
1 changed files with 26 additions and 7 deletions
|
@ -2,12 +2,31 @@
|
|||
namespace Vichan\Data;
|
||||
|
||||
|
||||
/**
|
||||
* POD with the fragments of each filter.
|
||||
*/
|
||||
class SearchFilters {
|
||||
public array $body = [];
|
||||
public ?string $subject = null;
|
||||
public ?string $name = null;
|
||||
public ?string $board = null;
|
||||
public ?string $flag = null;
|
||||
public ?int $id = null;
|
||||
public ?int $thread = null;
|
||||
/**
|
||||
* @var array<array<string>>
|
||||
*/
|
||||
public array $body;
|
||||
/**
|
||||
* @var array<string>
|
||||
*/
|
||||
public array $subject;
|
||||
/**
|
||||
* @var array<string>
|
||||
*/
|
||||
public array $name;
|
||||
/**
|
||||
* @var array<string>
|
||||
*/
|
||||
public array $board;
|
||||
/**
|
||||
* @var array<string>
|
||||
*/
|
||||
public array $flag;
|
||||
public ?int $id;
|
||||
public ?int $thread;
|
||||
public float $weight;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue