<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class ViewIssuedItem
 * 
 * @property string|null $item_stk_id
 * @property int $item_code
 * @property string $barcode
 * @property string $item_name
 * @property int $color_code
 * @property string|null $color
 * @property string|null $inv_no
 * @property float $issued_qty
 * @property float $unit_price
 * @property float $tot_price
 * @property float $discount_prs
 * @property float $discount
 * @property float $sub_total
 *
 * @package App\Models
 */
class ViewIssuedItem extends Model
{
	protected $table = 'view_issued_items';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'item_code' => 'int',
		'color_code' => 'int',
		'issued_qty' => 'float',
		'unit_price' => 'float',
		'tot_price' => 'float',
		'discount_prs' => 'float',
		'discount' => 'float',
		'sub_total' => 'float'
	];

	protected $fillable = [
		'item_stk_id',
		'item_code',
		'barcode',
		'item_name',
		'color_code',
		'color',
		'inv_no',
		'issued_qty',
		'unit_price',
		'tot_price',
		'discount_prs',
		'discount',
		'sub_total'
	];
}
