trs_matrimony/app/Models/ExpressInterest.php
2024-08-22 09:31:12 +05:30

20 lines
333 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Models\User;
class ExpressInterest extends Model
{
public function user()
{
return $this->belongsTo(User::class)->withTrashed();
}
public function notifications()
{
return $this->hasmany(Notification::class);
}
}