安徽博创起重服务端程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
464 B

<?php
namespace app\common\model\community;
use app\common\basics\Models;
/**
* 种草社区分类
* Class CommunityCategory
* @package app\common\model\content
*/
class CommunityCategory extends Models
{
/**
* @notes 关联话题
* @return \think\model\relation\HasMany
* @author 段誉
* @date 2022/4/29 16:33
*/
public function topic()
{
return $this->hasMany(CommunityTopic::class, 'cid', 'id');
}
}