Model
Introduction
The model
property is used to determine the table repository to use for listing entries.
The model
property guessed by default based on the table builders class. If using php artisan make:stream
then the model property does not need to be set explicitly.
You can set the model to use manually using the model
property.
protected $model = \Anomaly\UsersModule\User\UserModel::class;
You can set this dynamically too:
$builder->setModel(\Anomaly\UsersModule\User\UserModel::class);