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.

19 lines
312 B
PHP

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