| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class ExperienceAward extends BaseModel |
||
| 24 | { |
||
| 25 | protected $casts = [ |
||
| 26 | 'title' => 'string', |
||
| 27 | 'award_recipient_type_id' => 'int', |
||
| 28 | 'issued_by' => 'string', |
||
| 29 | 'award_recognition_type_id' => 'int', |
||
| 30 | 'awarded_date' => 'date' |
||
| 31 | ]; |
||
| 32 | |||
| 33 | protected $fillable = [ |
||
| 34 | 'title', |
||
| 35 | 'award_recipient_type_id', |
||
| 36 | 'issued_by', |
||
| 37 | 'award_recognition_type_id', |
||
| 38 | 'awarded_date' |
||
| 39 | ]; |
||
| 40 | |||
| 41 | protected $table = 'experiences_award'; |
||
| 42 | |||
| 43 | public function award_recipient_type() //phpcs:ignore |
||
| 46 | } |
||
| 47 | |||
| 48 | public function award_recognition_type() //phpcs:ignore |
||
| 49 | { |
||
| 50 | return $this->belongsTo(\App\Models\Lookup\AwardRecognitionType::class); |
||
| 51 | } |
||
| 52 | |||
| 53 | public function experienceable() //phpcs:ignore |
||
| 56 | } |
||
| 57 | } |
||
| 58 |