quanwei
18 hours ago b90b528cb5c6eaebe03fba972fef658a741ce896
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
 
namespace app\common\model\branch;
 
use app\common\model\BaseModel;
 
/**
 * 活动评论图片模型
 */
class ActivityCommentImage extends BaseModel
{
    protected $name = 'branch_activity_comment_image';
    protected $pk = 'id';
 
    /**
     * 关联文件表
     */
    public function file()
    {
        return $this->belongsTo('app\\common\\model\\file\\UploadFile', 'image_id', 'file_id');
    }
}