| Current Path : /home/users/unlimited/www/dealnest.codeskitter.site/app/Models/ |
| Current File : /home/users/unlimited/www/dealnest.codeskitter.site/app/Models/VerifyCustomer.php |
<?php
namespace App\Models;
use App\Models\Customer;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class VerifyCustomer extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'status'
];
/**
* Get the user that owns the VerifyCustomer
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function user()
{
return $this->belongsTo(Customer::class, 'user_id');
}
/**
* Get all of the Verify Form Values for the VerifyCustomer
*
*/
public function verify_customer_values()
{
return $this->hasMany(VerifyCustomerValue::class, 'verify_customer_id');
}
}