<?php
/**
 * @Copyright (c) 2019  XIGU Inc. All rights reserved.
 * @Link https://www.vlcms.com
 * @License江苏溪谷网络科技有限公司版权所有
 */

namespace app\common\model;

use think\Model;

class WageDiy extends Model
{


    /**
     * @一对一关联 角色表 role
     *
     * @return \think\model\relation\HasOne
     *
     * @author: zsl
     * @since: 2019/5/10 11:14
     */
    public function role()
    {
        return $this->hasOne('role','id','role_id');
    }

}