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

18 lines
232 B
Smarty

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