2021-09-28 18:54:07 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database;
|
|
|
|
|
|
|
|
|
|
|
2021-09-29 10:13:27 +08:00
|
|
|
use Database\Model;
|
2021-09-28 18:54:07 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
class TestModel extends Model
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected string $connection = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected string $table = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ?string $primary = '';
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TestModel::query()->get();
|