<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class LogPenyusutanInventari
 * 
 * @property int $id
 * @property string $inventaris_id
 * @property string $trans_id
 * @property float $jumlah
 * @property Carbon $tanggal
 * @property string $user
 * @property Carbon $trans_date
 * @property int $status
 *
 * @package App\Models
 */
class LogPenyusutanInventari extends Model
{
	protected $table = 'log_penyusutan_inventaris';
	public $timestamps = false;

	protected $casts = [
		'jumlah' => 'float',
		'tanggal' => 'datetime',
		'trans_date' => 'datetime',
		'status' => 'int'
	];

	protected $fillable = [
		'inventaris_id',
		'trans_id',
		'jumlah',
		'tanggal',
		'user',
		'trans_date',
		'status'
	];
}
