| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class Department extends BaseModel |
||
| 26 | { |
||
| 27 | |||
| 28 | use CrudTrait; |
||
|
|
|||
| 29 | use HasTranslations; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var $fillable string[] |
||
| 33 | */ |
||
| 34 | protected $fillable = [ |
||
| 35 | 'id', |
||
| 36 | 'name', |
||
| 37 | 'impact' |
||
| 38 | ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var $translatable string[] |
||
| 42 | */ |
||
| 43 | public $translatable = [ |
||
| 44 | 'name', |
||
| 45 | 'impact' |
||
| 46 | ]; |
||
| 47 | |||
| 48 | public function managers() // phpcs:ignore |
||
| 49 | { |
||
| 50 | return $this->hasMany(\App\Models\Manager::class); |
||
| 51 | } |
||
| 52 | |||
| 53 | public function job_posters() // phpcs:ignore |
||
| 56 | } |
||
| 57 | } |
||
| 58 |