<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class ViewSupReturn
 * 
 * @property int $sup_rtn_no
 * @property int $sup_id
 * @property string $name
 * @property string $address
 * @property string $company_Name
 * @property string|null $contact_No
 * @property Carbon $rtn_date
 * @property Carbon $rtn_time
 * @property float $total_cost
 * @property string $rtn_opt
 * @property int $itm_stk_id
 * @property string $barcode
 * @property string $item_name
 * @property string|null $color
 * @property float $rtn_qty
 * @property float $unit_cost
 * @property float $total_price
 *
 * @package App\Models
 */
class ViewSupReturn extends Model
{
	protected $table = 'view_sup_returns';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'sup_rtn_no' => 'int',
		'sup_id' => 'int',
		'rtn_date' => 'datetime',
		'rtn_time' => 'datetime',
		'total_cost' => 'float',
		'itm_stk_id' => 'int',
		'rtn_qty' => 'float',
		'unit_cost' => 'float',
		'total_price' => 'float'
	];

	protected $fillable = [
		'sup_rtn_no',
		'sup_id',
		'name',
		'address',
		'company_Name',
		'contact_No',
		'rtn_date',
		'rtn_time',
		'total_cost',
		'rtn_opt',
		'itm_stk_id',
		'barcode',
		'item_name',
		'color',
		'rtn_qty',
		'unit_cost',
		'total_price'
	];
}
