mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 13:44:04 +00:00
Fix ParentModel change
This commit is contained in:
parent
955860d34a
commit
ff84ef1379
1 changed files with 9 additions and 0 deletions
|
|
@ -183,6 +183,15 @@ class MyModel extends ParentModel
|
||||||
|
|
||||||
class FooModel extends ParentModel
|
class FooModel extends ParentModel
|
||||||
{
|
{
|
||||||
|
public function getCustomColumns(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'id',
|
||||||
|
'custom1',
|
||||||
|
'custom2',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function getDataColumn(): string
|
public function getDataColumn(): string
|
||||||
{
|
{
|
||||||
return 'virtual';
|
return 'virtual';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue