<?php

namespace App;
use Illuminate\Database\Eloquent\Model;

class CreditRegister extends Model
{

	protected $table = 'credit_register';
	public $timestamps = false;

    protected $fillable = [
			'boat_id',
			'customer_id',
	    'date_month',
			'date_year',
			'festivo_morning',
			'festivo_afternoon',
			'morning',
			'afternoon',
    ];

	public function user()
	{
		return $this->belongsTo('App\Customer');
	}

}
