1 | <?php |
||
16 | class ApiKeys extends Model |
||
17 | { |
||
18 | use Notifiable; |
||
19 | use SoftDeletes; |
||
20 | protected $table = "api_keys"; |
||
21 | protected $dates = ['deleted_at']; |
||
22 | protected $fillable = [ |
||
23 | 'client', 'api_key', 'created_at', 'updated_at', 'user_id' |
||
24 | ]; |
||
25 | |||
26 | public $hidden = ['created_at', 'updated_at']; |
||
27 | |||
28 | public function getUserName() |
||
32 | |||
33 | public function getHistory() |
||
37 | |||
38 | public function getWorkflow() |
||
42 | |||
43 | public function getStateFrom() |
||
47 | |||
48 | public function getStateTo() |
||
52 | } |
||
53 |