| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class WorkplacePhotoCaption extends BaseModel |
||
| 25 | { |
||
| 26 | |||
| 27 | protected $casts = [ |
||
| 28 | 'work_environment_id' => 'int', |
||
| 29 | 'workplace_photo_id' => 'int' |
||
| 30 | ]; |
||
| 31 | protected $fillable = [ |
||
| 32 | 'photo_name', |
||
| 33 | 'description' |
||
| 34 | ]; |
||
| 35 | |||
| 36 | public function work_environment() |
||
| 37 | { |
||
| 38 | return $this->belongsTo(\App\Models\WorkEnvironment::class); |
||
| 39 | } |
||
| 40 | |||
| 41 | public function workplace_photo() |
||
| 44 | } |
||
| 45 | } |
||
| 46 |