<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class ViewStockRi
 * 
 * @property string $barcode
 * @property string $item_name
 * @property string $parent_cat
 * @property string|null $sub_cat
 * @property string|null $color
 * @property float $qty
 * @property float $cost_price
 * @property float $sales_price_1
 * @property float $sales_price_2
 * @property string $status
 *
 * @package App\Models
 */
class ViewStockRi extends Model
{
	protected $table = 'view_stock_ri';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'qty' => 'float',
		'cost_price' => 'float',
		'sales_price_1' => 'float',
		'sales_price_2' => 'float'
	];

	protected $fillable = [
		'barcode',
		'item_name',
		'parent_cat',
		'sub_cat',
		'color',
		'qty',
		'cost_price',
		'sales_price_1',
		'sales_price_2',
		'status'
	];
}
