dficoins
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
334 B

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