| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class ApplicantProfileAnswer extends BaseModel |
||
| 24 | { |
||
| 25 | |||
| 26 | protected $casts = [ |
||
| 27 | 'applicant_id' => 'int', |
||
| 28 | 'applicant_profile_question_id' => 'int' |
||
| 29 | ]; |
||
| 30 | protected $fillable = [ |
||
| 31 | 'applicant_profile_question_id', |
||
| 32 | 'answer' |
||
| 33 | ]; |
||
| 34 | protected $with = [ |
||
| 35 | 'applicant_profile_question' |
||
| 36 | ]; |
||
| 37 | |||
| 38 | public function applicant() |
||
| 39 | { |
||
| 40 | return $this->belongsTo(\App\Models\Applicant::class); |
||
| 41 | } |
||
| 42 | |||
| 43 | public function applicant_profile_question() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |