<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;

/**
 * Class CustomerLocation
 * 
 * @property int $id
 * @property string|null $location
 * 
 * @property Collection|Customer[] $customers
 *
 * @package App\Models
 */
class CustomerLocation extends Model
{
	protected $table = 'customer_location';
	public $timestamps = false;

	protected $fillable = [
		'location'
	];

	public function customers()
	{
		return $this->hasMany(Customer::class, 'locaction_id');
	}
}
