| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- *
- * @copyright ©2020 点小铺
- * @author hanj
- * @link: https://dyuit.com
- * Created by VSCode
- */
- namespace app\common\model;
- /**
- * 商品规格关系模型
- * Class GoodsSpecRel
- * @package app\common\model
- */
- class GoodsSpecRel extends BaseModel
- {
- protected $name = 'goods_spec_rel';
- protected $updateTime = false;
- /**
- * 关联规格组
- * @return \think\model\relation\BelongsTo
- */
- public function spec()
- {
- return $this->belongsTo('Spec');
- }
- }
|