<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class InvoicePaid
 * 
 * @property string $inv_no
 * @property float|null $inv_tot
 * @property float|null $payment
 * @property float|null $bal
 * @property Carbon|null $date
 *
 * @package App\Models
 */
class InvoicePaid extends Model
{
	protected $table = 'invoice_paid';
	protected $primaryKey = 'inv_no';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'inv_tot' => 'float',
		'payment' => 'float',
		'bal' => 'float',
		'date' => 'datetime'
	];

	protected $fillable = [
		'inv_tot',
		'payment',
		'bal',
		'date'
	];
}
