feat(test): add multi-engine integration matrix
This commit is contained in:
20
tests/Models/Post.php
Normal file
20
tests/Models/Post.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Models;
|
||||
|
||||
use Libs\Model;
|
||||
|
||||
/**
|
||||
* Post - DuckBrain test fixture
|
||||
*
|
||||
* Second table of the integration matrix, joined to Users through user_id.
|
||||
* Column names avoid SQL reserved words on every engine.
|
||||
*/
|
||||
final class Post extends Model
|
||||
{
|
||||
public ?int $id;
|
||||
public ?int $userId;
|
||||
public string $title;
|
||||
public ?string $content;
|
||||
public ?float $rating;
|
||||
}
|
||||
Reference in New Issue
Block a user