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
18 lines
290 B
PHTML
2 years ago
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
1 year ago
|
class PoinReward extends Model
|
||
2 years ago
|
{
|
||
|
protected $fillable = [
|
||
|
'amount_buy',
|
||
1 year ago
|
'bonus_poin',
|
||
2 years ago
|
'customer_level_id',
|
||
|
];
|
||
1 year ago
|
|
||
|
public function level()
|
||
|
{
|
||
|
return $this->belongsTo(CustomerLevel::class, 'customer_level_id');
|
||
|
}
|
||
2 years ago
|
}
|