| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | class ExperienceAwards extends BaseModel |
||
| 25 | { |
||
| 26 | protected $casts = [ |
||
| 27 | 'title' => 'string', |
||
| 28 | 'recipient_type_id' => 'int', |
||
| 29 | 'issued_by' => 'string', |
||
| 30 | 'recognition_type_id' => 'int', |
||
| 31 | 'awarded_date' => 'date' |
||
| 32 | ]; |
||
| 33 | |||
| 34 | protected $fillable = [ |
||
| 35 | 'title', |
||
| 36 | 'recipient_type_id', |
||
| 37 | 'issued_by', |
||
| 38 | 'recognition_type_id', |
||
| 39 | 'awarded_date' |
||
| 40 | ]; |
||
| 41 | |||
| 42 | public function award_recipient_type() //phpcs:ignore |
||
| 43 | { |
||
| 44 | return $this->belongsTo(\App\Models\Lookup\AwardRecipientType::class); |
||
| 45 | } |
||
| 46 | |||
| 47 | public function award_recognition_type() //phpcs:ignore |
||
| 48 | { |
||
| 49 | return $this->belongsTo(\App\Models\Lookup\AwardRecognitionType::class); |
||
| 50 | } |
||
| 51 | |||
| 52 | public function job_applications() //phpcs:ignore |
||
| 55 | } |
||
| 56 | |||
| 57 | public function awards_experienceable() //phpcs:ignore |
||
| 60 | } |
||
| 61 | } |
||
| 62 |