File manager - Edit - /var/www/html/homologBancodetalentos/app/Models/TalentBank/CandidateNotification.php
Back
<?php namespace App\Models\TalentBank; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class CandidateNotification extends Model { public const TYPE_NEW_JOB_MATCH = 'new_job_match'; protected $table = 'candidate_notifications'; protected $fillable = [ 'candidate_id', 'job_listing_id', 'type', 'dedupe_key', 'title', 'body', 'action_url', 'meta', 'read', 'read_at', ]; protected $casts = [ 'read' => 'boolean', 'read_at' => 'datetime', 'meta' => 'array', ]; public function candidate(): BelongsTo { return $this->belongsTo(Candidate::class); } public function jobListing(): BelongsTo { return $this->belongsTo(JobListing::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings