1 | <?php namespace {namespace}\Entities; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
2 | |||
3 | use CodeIgniter\Entity; |
||
4 | |||
5 | /** |
||
6 | * Short description of this class usages |
||
7 | * |
||
8 | * @class {name} |
||
9 | * @generated_by CI-Recharge |
||
10 | * @package {namespace} |
||
11 | * @extend Entity |
||
12 | * @created_at {created_at} |
||
13 | */ |
||
14 | |||
15 | class {name} extends Entity |
||
16 | { |
||
17 | /** |
||
18 | * Database Table Column names |
||
19 | */ |
||
20 | protected $attributes = [{attributes}]; |
||
21 | |||
22 | /** |
||
23 | * Database Table Column To Property Mapper |
||
24 | */ |
||
25 | protected $datamap = []; |
||
26 | |||
27 | /** |
||
28 | * Property That will use timestamp |
||
29 | */ |
||
30 | protected $dates = [{dates}]; |
||
31 | |||
32 | /** |
||
33 | * Property Types Casted |
||
34 | */ |
||
35 | protected $casts = [{casts}]; |
||
36 | |||
37 | } |
||
38 |