You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
285 B
16 lines
285 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class User extends BaseModel
|
|
{
|
|
use HasFactory;
|
|
protected $guarded = ['id', 'created_at', 'updated_at'];
|
|
|
|
public function agent()
|
|
{
|
|
return $this->belongsTo(Agent::class)->withTrashed();
|
|
}
|
|
}
|