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.

27 lines
429 B
PHP

<?php
namespace App\Models;
class Voucher extends Model
{
protected $fillable = [
'name',
'description',
'location_id',
'username',
'password',
'price',
'discount',
'display_price',
'quota',
'profile',
'comment',
'expired',
];
public function location()
{
return $this->belongsTo(Location::class);
}
}