| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AssessmentPlanNotification extends BaseModel |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The columns that can be filled with mass-assignment |
||
| 20 | * |
||
| 21 | * @var string[] |
||
| 22 | */ |
||
| 23 | protected $fillable = ['notification']; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * How each column should be cast to a variable |
||
| 27 | */ |
||
|
1 ignored issue
–
show
|
|||
| 28 | protected $casts = [ |
||
| 29 | 'job_poster_id' => 'int', |
||
| 30 | 'notification' => 'array' |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get the JobPoster relationship |
||
| 35 | */ |
||
|
1 ignored issue
–
show
|
|||
| 36 | public function job_poster() |
||
| 41 |