mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-02 12:13:02 -04:00
25 lines
541 B
PHP
25 lines
541 B
PHP
<?php
|
|
namespace Modules\WTIJobBoard\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
use App\Models\User;
|
|
|
|
class JobRequestSetting extends Model
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = "job_request_settings";
|
|
protected $guarded = ["id"];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo(User::class, 'user_id', 'id');
|
|
}
|
|
|
|
public function category()
|
|
{
|
|
return $this->belongsTo(JobRequestCategory::class, 'job_request_category_id', 'id');
|
|
}
|
|
}
|