<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class ViewCreditSale
 * 
 * @property int $acc_no
 * @property int $cus_id
 * @property string $inv_no
 * @property float $inv_price
 * @property float $paid
 * @property float $credit_amount
 * @property string $company_no
 * @property Carbon $added_date
 * @property string $cus_Name
 *
 * @package App\Models
 */
class ViewCreditSale extends Model
{
	protected $table = 'view_credit_sales';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'acc_no' => 'int',
		'cus_id' => 'int',
		'inv_price' => 'float',
		'paid' => 'float',
		'credit_amount' => 'float',
		'added_date' => 'datetime'
	];

	protected $fillable = [
		'acc_no',
		'cus_id',
		'inv_no',
		'inv_price',
		'paid',
		'credit_amount',
		'company_no',
		'added_date',
		'cus_Name'
	];
}
