TOP-framework/framework/create/tpl/model/demo.tpl

15 lines
233 B
Smarty

<?php
namespace {namespace}\{name}\model;
use system\top\Model;
class Demo extends Model {
protected $table = '';
protected $pk = '';
protected $map = [];
public function get($id) {
return $id;
}
}