dbmsv2/app/Services/Equipment/LineService.php
2025-08-19 13:51:35 +09:00

38 lines
784 B
PHP

<?php
namespace App\Services\Equipment;
use App\Models\Equipment\LineModel;
class LineService extends EquipmentService
{
public function __construct()
{
parent::__construct(new LineModel());
$this->addClassName('Line');
}
public function getFormFields(): array
{
return [
"type",
"title",
"bandwith",
"start_at",
"end_at",
"status",
];
}
public function getFilterFields(): array
{
return ["type", 'status',];
}
public function getBatchJobFields(): array
{
return ['status'];
}
public function getIndexFields(): array
{
return ['type', 'title', 'bandwith', "start_at", "end_at", 'status'];
}
}