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.

18 lines
290 B
PHTML

<?php
namespace App\Models;
class PoinReward extends Model
{
protected $fillable = [
'amount_buy',
'bonus_poin',
'customer_level_id',
];
public function level()
{
return $this->belongsTo(CustomerLevel::class, 'customer_level_id');
}
}