lan_kiosk/app/Models/CustomerGroup.php
2026-01-07 17:20:04 +01:00

26 lines
438 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Models\Customer;
class CustomerGroup extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
];
/**
* Get the customers for the group.
*/
public function customers()
{
return $this->hasMany(Customer::class);
}
}