You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
371 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class MaterialResource extends Model
{
protected $table = 'm_material_resource', $guarded = ['id'];
protected $casts = [
'id' => 'integer',
'unit_price' => 'integer',
'qty' => 'float'
];
const CREATED_AT = 'created_at';
const UPDATED_AT = 'updated_at';
}