You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
323 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class OtcAccount extends Model
{
//
protected $table = 'otc_account';
protected $primaryKey = 'id';
protected $guarded = [];
public function user()
{
return $this->belongsTo(User::class, 'user_id', 'user_id');
}
}