<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class DaybookBankTransaction
 * 
 * @property int $id
 * @property int|null $bank_id
 * @property string|null $type
 * @property Carbon|null $date
 * @property float|null $amount
 * @property string|null $reason
 * @property string|null $reference
 * @property string|null $branch
 * @property int|null $customer_id
 *
 * @package App\Models
 */
class DaybookBankTransaction extends Model
{
	protected $table = 'daybook_bank_transactions';
	public $timestamps = false;

	protected $casts = [
		'bank_id' => 'int',
		'date' => 'datetime',
		'amount' => 'float',
		'customer_id' => 'int'
	];

	protected $fillable = [
		'bank_id',
		'type',
		'date',
		'amount',
		'reason',
		'reference',
		'branch',
		'customer_id'
	];
}
