This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/model/SpecValue.php

25 lines
406 B
PHP
Raw Normal View History

2020-04-25 22:20:29 +08:00
<?php
namespace app\common\model;
/**
* 规格/属性()模型
* Class SpecValue
* @package app\common\model
*/
class SpecValue extends BaseModel
{
protected $name = 'spec_value';
protected $updateTime = false;
/**
* 关联规格组表
* @return $this|\think\model\relation\BelongsTo
*/
public function spec()
{
return $this->belongsTo('Spec');
}
}