| 1 | <?php | ||
| 9 | class Hostkeys extends Model | ||
| 10 | { | ||
| 11 | use Notifiable; | ||
| 12 | |||
| 13 | protected $table = 'host_keys'; | ||
| 14 | public $timestamps = true; | ||
| 15 | |||
| 16 | use SoftDeletes; | ||
| 17 | |||
| 18 | protected $dates = ['deleted_at']; | ||
| 19 |     protected $fillable = array('hostname', 'keys', 'state', 'transition', 'user_id'); | ||
| 20 | |||
| 21 | public function getState() | ||
| 25 | |||
| 26 | public function getTransition() | ||
| 30 | |||
| 31 | public function getUserName() | ||
| 35 | |||
| 36 | } | ||
| 37 |