<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class ViewCusReturn
 * 
 * @property int $cus_trn_no
 * @property int $cus_id
 * @property string $cus_Name
 * @property string $cus_address
 * @property string $contact_no
 * @property Carbon $rtn_date
 * @property Carbon $rtn_time
 * @property string|null $inv_no
 * @property int $itm_stk_id
 * @property string $barcode
 * @property string $item_name
 * @property string|null $color
 * @property float $rtn_qty
 * @property float $unit_price
 * @property float $total_price
 * @property string|null $cmp_no
 *
 * @package App\Models
 */
class ViewCusReturn extends Model
{
	protected $table = 'view_cus_returns';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'cus_trn_no' => 'int',
		'cus_id' => 'int',
		'rtn_date' => 'datetime',
		'rtn_time' => 'datetime',
		'itm_stk_id' => 'int',
		'rtn_qty' => 'float',
		'unit_price' => 'float',
		'total_price' => 'float'
	];

	protected $fillable = [
		'cus_trn_no',
		'cus_id',
		'cus_Name',
		'cus_address',
		'contact_no',
		'rtn_date',
		'rtn_time',
		'inv_no',
		'itm_stk_id',
		'barcode',
		'item_name',
		'color',
		'rtn_qty',
		'unit_price',
		'total_price',
		'cmp_no'
	];
}
