<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class Transferhistoty
 * 
 * @property int $id
 * @property Carbon|null $date
 * @property int|null $transfered_by
 * @property float|null $from_qty
 * @property float|null $to_qty
 * @property int|null $stock_id
 * @property int|null $item_id
 * @property string|null $sesc
 * @property string|null $frombranch
 * @property string|null $tobranch
 *
 * @package App\Models
 */
class Transferhistoty extends Model
{
	protected $table = 'transferhistoty';
	public $timestamps = false;

	protected $casts = [
		'date' => 'datetime',
		'transfered_by' => 'int',
		'from_qty' => 'float',
		'to_qty' => 'float',
		'stock_id' => 'int',
		'item_id' => 'int'
	];

	protected $fillable = [
		'date',
		'transfered_by',
		'from_qty',
		'to_qty',
		'stock_id',
		'item_id',
		'sesc',
		'frombranch',
		'tobranch'
	];
}
