Blame view
app/Models/Ad_jobs.php
563 Bytes
d152a3a68 Создание основных... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Ad_jobs extends Model { use HasFactory; protected $table = 'ad_jobs'; public $fillable = [ 'ad_employer_id', 'job_title_id', 'flot', 'min_salary', 'max_salary', 'region', 'sytki', 'start', |
365e6ad01 Реализация проекта |
23 24 |
'description', 'position_ship' |
d152a3a68 Создание основных... |
25 26 27 28 29 30 |
]; public function job_title() { return $this->belongsTo(Job_title::class, 'job_title_id'); } } |