ldc-crm/app/Models/CustomerOptInHistory.php

18 lines
353 B
PHP
Raw Normal View History

2020-12-01 17:02:10 +01:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CustomerOptInHistory extends Model
{
use HasFactory;
protected $table = "customer_opt_in_history";
public function customer() {
return $this->belongsTo('App\Models\Customer', 'customer_id');
}
}