<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class ViewInvCu
 * 
 * @property string $inv_no
 * @property int|null $cus_id
 * @property string|null $cus_Name
 * @property float $tot_inv_price
 * @property float $tot_discount
 * @property float $sub_total
 * @property string|null $pay_stat
 * @property Carbon $added_date
 * @property Carbon $added_time
 * @property string $delivery_no
 * @property int $added_by
 * @property string $cmp_id
 * @property float|null $hire_p_advance
 *
 * @package App\Models
 */
class ViewInvCu extends Model
{
	protected $table = 'view_inv_cus';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'cus_id' => 'int',
		'tot_inv_price' => 'float',
		'tot_discount' => 'float',
		'sub_total' => 'float',
		'added_date' => 'datetime',
		'added_time' => 'datetime',
		'added_by' => 'int',
		'hire_p_advance' => 'float'
	];

	protected $fillable = [
		'inv_no',
		'cus_id',
		'cus_Name',
		'tot_inv_price',
		'tot_discount',
		'sub_total',
		'pay_stat',
		'added_date',
		'added_time',
		'delivery_no',
		'added_by',
		'cmp_id',
		'hire_p_advance'
	];
}
