<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;


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

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


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