<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;


class UserCark extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wa_user_social_cark';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';


    public function userData()
    {
        return $this->hasOne(User::class,'id','user_id');
    }
}
