mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-27 16:33:57 +00:00
Major incomplete Change
This commit is contained in:
@@ -2,21 +2,14 @@
|
||||
|
||||
namespace App\models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Activitylog\Traits\LogsActivity;
|
||||
|
||||
class AddressBook extends Model
|
||||
class AddressBook extends AbstractModel
|
||||
{
|
||||
use LogsActivity;
|
||||
|
||||
protected $table = 'address_book';
|
||||
|
||||
protected $fillable = [
|
||||
'company_id', 'reference', 'contact', 'street_one', 'street_two', 'city', 'state', 'post_code', 'country', 'default'
|
||||
];
|
||||
|
||||
protected static $logFillable = true;
|
||||
|
||||
public function company()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Company');
|
||||
|
||||
Reference in New Issue
Block a user