<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Res\Model; use Illuminate\Database\Eloquent\Model; class ResAsset extends Model { protected $table = 'res_asset'; public function cats() { return $this->hasMany(ResCatMap::class, 'assetId'); } }