<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class ViewStockColor
 * 
 * @property string $barcode
 * @property string|null $color
 * @property float $qty
 * @property float $cost_price
 * @property float $sales_price_1
 * @property float $sales_price_2
 * @property string $status
 * @property string $item_stat
 * @property string $section_no
 *
 * @package App\Models
 */
class ViewStockColor extends Model
{
	protected $table = 'view_stock_color';
	public $incrementing = false;
	public $timestamps = false;

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

	protected $fillable = [
		'barcode',
		'color',
		'qty',
		'cost_price',
		'sales_price_1',
		'sales_price_2',
		'status',
		'item_stat',
		'section_no'
	];
}
