Initial
This commit is contained in:
12
system/Commands/Generators/Views/entity.tpl.php
Normal file
12
system/Commands/Generators/Views/entity.tpl.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<@php
|
||||
|
||||
namespace {namespace};
|
||||
|
||||
use CodeIgniter\Entity\Entity;
|
||||
|
||||
class {class} extends Entity
|
||||
{
|
||||
protected $datamap = [];
|
||||
protected $dates = ['created_at', 'updated_at', 'deleted_at'];
|
||||
protected $casts = [];
|
||||
}
|
||||
Reference in New Issue
Block a user