<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class QuotationIssuedItem
 * 
 * @property string|null $item_stk_id
 * @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
 * @property string|null $serial_no
 * @property int $is_returned
 * @property string|null $section_no
 * @property string $unit
 * @property string $unitRate
 * @property string $isConvertableItem
 * @property string $convertPrice
 * @property string|null $group_item_id
 * @property float|null $group_item_sale_price
 * @property float|null $group_item_sale_price_discount
 * @property int|null $isgroupItem
 * @property string|null $StoreOrderNo
 * @property int $id
 * @property float|null $cost_price
 *
 * @package App\Models
 */
class QuotationIssuedItem extends Model
{
	protected $table = 'quotation_issued_items';
	public $timestamps = false;

	protected $casts = [
		'issued_qty' => 'float',
		'unit_price' => 'float',
		'tot_price' => 'float',
		'discount_prs' => 'float',
		'discount' => 'float',
		'sub_total' => 'float',
		'is_returned' => 'int',
		'group_item_sale_price' => 'float',
		'group_item_sale_price_discount' => 'float',
		'isgroupItem' => 'int',
		'cost_price' => 'float'
	];

	protected $fillable = [
		'item_stk_id',
		'inv_no',
		'issued_qty',
		'unit_price',
		'tot_price',
		'discount_prs',
		'discount',
		'sub_total',
		'serial_no',
		'is_returned',
		'section_no',
		'unit',
		'unitRate',
		'isConvertableItem',
		'convertPrice',
		'group_item_id',
		'group_item_sale_price',
		'group_item_sale_price_discount',
		'isgroupItem',
		'StoreOrderNo',
		'cost_price'
	];
}
