how to create model in october cms code example
Example: octobercms model add fillable
YourModel::extend(function($model) {
$model->addFillable([
'fillable',
'field',
'names'
]);
});
YourModel::extend(function($model) {
$model->addFillable([
'fillable',
'field',
'names'
]);
});