变更
This commit is contained in:
@@ -24,6 +24,7 @@ use Database\SqlBuilder;
|
|||||||
use Database\Traits\HasBase;
|
use Database\Traits\HasBase;
|
||||||
use Exception;
|
use Exception;
|
||||||
use Kiri;
|
use Kiri;
|
||||||
|
use Kiri\Annotation\Inject;
|
||||||
use Kiri\Abstracts\Component;
|
use Kiri\Abstracts\Component;
|
||||||
use Kiri\Annotation\Annotation;
|
use Kiri\Annotation\Annotation;
|
||||||
use Kiri\Error\StdoutLoggerInterface;
|
use Kiri\Error\StdoutLoggerInterface;
|
||||||
@@ -98,6 +99,18 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
|
|||||||
protected array $_with = [];
|
protected array $_with = [];
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected array $overrideGetter = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
#[Inject(Setter::class, [self::class])]
|
||||||
|
protected array $overrideSetter = [];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user