1 | <?php |
||
9 | class History extends Model |
||
10 | { |
||
11 | use Notifiable; |
||
12 | |||
13 | protected $table = 'historys'; |
||
14 | public $timestamps = true; |
||
15 | |||
16 | use SoftDeletes; |
||
17 | |||
18 | protected $dates = ['deleted_at']; |
||
19 | protected $fillable = array('content_id', 'workflow_id', 'from_state', 'to_state', 'user_id'); |
||
20 | |||
21 | public function getApiKeys() |
||
25 | |||
26 | public function getWorkflow() |
||
30 | |||
31 | public function getStateFrom() |
||
35 | |||
36 | public function getStateTo() |
||
40 | |||
41 | public function getUserName() |
||
45 | |||
46 | } |
||
47 |