<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class ViewSupCredit
 * 
 * @property int $supplier_id
 * @property string $name
 * @property string $company_Name
 * @property string $address
 * @property string|null $contact_No
 * @property int $grn_no
 * @property float $grn_cost
 * @property float $paid
 * @property float $due
 *
 * @package App\Models
 */
class ViewSupCredit extends Model
{
	protected $table = 'view_sup_credit';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'supplier_id' => 'int',
		'grn_no' => 'int',
		'grn_cost' => 'float',
		'paid' => 'float',
		'due' => 'float'
	];

	protected $fillable = [
		'supplier_id',
		'name',
		'company_Name',
		'address',
		'contact_No',
		'grn_no',
		'grn_cost',
		'paid',
		'due'
	];
}
