| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 25 | class ExperienceWork extends BaseModel |
||
| 26 | { |
||
| 27 | protected $casts = [ |
||
| 28 | 'title' => 'string', |
||
| 29 | 'organization' => 'string', |
||
| 30 | 'group' => 'string', |
||
| 31 | 'is_active' => 'boolean', |
||
| 32 | 'start_date' => 'date', |
||
| 33 | 'end_date' => 'date' |
||
| 34 | ]; |
||
| 35 | |||
| 36 | protected $fillable = [ |
||
| 37 | 'title', |
||
| 38 | 'organization', |
||
| 39 | 'group', |
||
| 40 | 'is_active', |
||
| 41 | 'start_date', |
||
| 42 | 'end_date' |
||
| 43 | ]; |
||
| 44 | |||
| 45 | public function job_applications() //phpcs:ignore |
||
| 46 | { |
||
| 47 | return $this->belongsToMany(\App\Models\JobApplication::class); |
||
| 48 | } |
||
| 49 | |||
| 50 | public function work_experienceable() //phpcs:ignore |
||
| 53 | } |
||
| 54 | } |
||
| 55 |