| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class RatingGuideQuestion extends BaseModel |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * The columns that can be filled with mass-assignment |
||
| 23 | * |
||
| 24 | * @var string[] |
||
| 25 | */ |
||
| 26 | protected $fillable = ['question']; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get the JobPoster relation. |
||
| 30 | * |
||
| 31 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 32 | */ |
||
| 33 | public function job_poster(): \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
|
|
|||
| 34 | { |
||
| 35 | return $this->belongsTo(\App\Models\JobPoster::class); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get the AssessmentType relation. |
||
| 40 | * |
||
| 41 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 42 | */ |
||
| 43 | public function assessment_type(): \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 44 | { |
||
| 45 | return $this->belongsTo(\App\Models\AssessmentType::class); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Get the RatingGuideAnswers relation. |
||
| 50 | * |
||
| 51 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 52 | */ |
||
| 53 | public function rating_guide_answers(): \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 56 | } |
||
| 57 | } |
||
| 58 |