
    public function {%relationMethod%}(): \think\model\relation\BelongsTo
    {
        return $this->{%relationMode%}({%relationClassName%}, '{%relationForeignKey%}', '{%relationPrimaryKey%}');
    }