<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class SendItemsForRepair
 * 
 * @property int $index
 * @property string|null $rep_id
 * @property string|null $item_name
 * @property string|null $serial_no
 * @property float|null $qty
 * @property int|null $sup_id
 * @property Carbon|null $send_date
 * @property string|null $order_by
 * @property string|null $status
 * @property int|null $item_id
 *
 * @package App\Models
 */
class SendItemsForRepair extends Model
{
	protected $table = 'send_items_for_repair';
	protected $primaryKey = 'index';
	public $timestamps = false;

	protected $casts = [
		'qty' => 'float',
		'sup_id' => 'int',
		'send_date' => 'datetime',
		'item_id' => 'int'
	];

	protected $fillable = [
		'rep_id',
		'item_name',
		'serial_no',
		'qty',
		'sup_id',
		'send_date',
		'order_by',
		'status',
		'item_id'
	];
}
