Newer
Older
framework / system / Commands / Generators / Views / entity.tpl.php
@MGatner MGatner on 7 Sep 2021 254 bytes Release v4.1.4
<@php

namespace {namespace};

use CodeIgniter\Entity\Entity;

class {class} extends Entity
{
    protected $datamap = [];
    protected $dates   = [
        'created_at',
        'updated_at',
        'deleted_at',
    ];
    protected $casts   = [];
}