initiate project

This commit is contained in:
Omair Saleh
2019-01-23 23:53:18 +08:00
commit 771c52883f
356 changed files with 104246 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ModularStep extends Model
{
protected $table = 'modular_steps';
protected $fillable = [
'name'
];
public function moduleGroups()
{
return $this->hasMany(GroupStep::class, 'modular_id');
}
}