migrate to gtea from bistbucket
This commit is contained in:
27
app/Models/Unit.php
Normal file
27
app/Models/Unit.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Unit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'status',
|
||||
'business_id',
|
||||
'unitName',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'business_id' => 'integer',
|
||||
'status' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user