<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class RepairItemList
 * 
 * @property int $item_id
 * @property string $repair_id
 * @property string $item_name
 * @property string|null $serial_no
 * @property float $qty
 * @property Carbon|null $repair_accepted_date
 * @property string|null $added_by
 * @property Carbon|null $time
 * @property string|null $status
 * @property Carbon|null $item_Send_date
 * @property float|null $send_qty
 * @property string|null $Technician
 * @property Carbon|null $serve_date
 *
 * @package App\Models
 */
class RepairItemList extends Model
{
	protected $table = 'repair_item_list';
	protected $primaryKey = 'item_id';
	public $timestamps = false;

	protected $casts = [
		'qty' => 'float',
		'repair_accepted_date' => 'datetime',
		'time' => 'datetime',
		'item_Send_date' => 'datetime',
		'send_qty' => 'float',
		'serve_date' => 'datetime'
	];

	protected $fillable = [
		'repair_id',
		'item_name',
		'serial_no',
		'qty',
		'repair_accepted_date',
		'added_by',
		'time',
		'status',
		'item_Send_date',
		'send_qty',
		'Technician',
		'serve_date'
	];
}
