|
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Department extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'departments';
|
|
protected $fillable = [
|
|
'parent_id', 'name', 'status', 'responsible_user_id',
|
|
];
|
|
}
|