style updates
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Workflow\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
final class WorkflowHistory extends Model { protected $table='workflow_history'; protected $fillable=['workflow_instance_id','from_stage_id','to_stage_id','user_id','action','comment','metadata']; protected function casts(): array { return ['metadata'=>'array']; } }
|
||||
|
||||
final class WorkflowHistory extends Model
|
||||
{
|
||||
protected $table = 'workflow_history';
|
||||
|
||||
protected $fillable = ['workflow_instance_id', 'from_stage_id', 'to_stage_id', 'user_id', 'action', 'comment', 'metadata'];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['metadata' => 'array'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user