123456789101112131415161718 |
- <?php
- namespace app\common\model\base\flow;
- use app\common\model\Common;
- use think\facade\Db;
- use think\model\concern\SoftDelete;
- class FlowTpl extends Common
- {
- protected $pk = 'id';
- protected $name = "system_flow_tpl";
- public function nodeList()
- {
- return $this->hasMany(FlowTplNode::class,'tpl_id','id');
- }
- public function linkList()
- {
- return $this->hasMany(FlowTplLink::class,'tpl_id','id');
- }
- }
|