You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class CoinReward extends Model
|
|
{
|
|
protected $fillable = [
|
|
'amount_buy',
|
|
'bonus_coin',
|
|
'customer_level_id',
|
|
];
|
|
|
|
public function level()
|
|
{
|
|
return $this->belongsTo(CustomerLevel::class, 'customer_level_id');
|
|
}
|
|
}
|