add more controllers and fix tests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class Supply extends BaseModel
|
||||
{
|
||||
protected $table = 'supplies';
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'unit',
|
||||
'qty_on_hand',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'qty_on_hand' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user