Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
31 | class WorkEnvironment extends BaseModel { |
||
32 | |||
33 | use \Dimsav\Translatable\Translatable; |
||
|
|||
34 | |||
35 | public $translatedAttributes = ['things_to_know']; |
||
1 ignored issue
–
show
|
|||
36 | protected $casts = [ |
||
1 ignored issue
–
show
|
|||
37 | 'telework_allowed_frequency_id' => 'int', |
||
38 | 'flexible_hours_frequency_id' => 'int', |
||
39 | ]; |
||
40 | protected $fillable = [ |
||
1 ignored issue
–
show
|
|||
41 | 'telework_allowed_frequency_id', |
||
42 | 'flexible_hours_frequency_id' |
||
43 | ]; |
||
44 | protected $with = [ |
||
1 ignored issue
–
show
|
|||
45 | 'telework_allowed_frequency', |
||
46 | 'flexible_hours_frequency' |
||
47 | ]; |
||
48 | |||
49 | public function manager() { |
||
1 ignored issue
–
show
|
|||
50 | return $this->belongsTo(\App\Models\Manager::class); |
||
51 | } |
||
52 | |||
53 | public function telework_allowed_frequency() { |
||
55 | } |
||
56 | |||
57 | public function flexible_hours_frequency() { |
||
59 | } |
||
60 | |||
61 | public function workplace_photo_captions() { |
||
1 ignored issue
–
show
|
|||
62 | return $this->hasMany(\App\Models\WorkplacePhotoCaption::class); |
||
63 | } |
||
64 | |||
65 | public function work_environment_translations() { |
||
67 | } |
||
68 | |||
69 | } |
||
70 |