dbmsv2/app/Services/Equipment/LineService.php
2025-08-22 11:00:49 +09:00

55 lines
1.2 KiB
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 [
'fields' => [
"type",
"title",
"bandwith",
"start_at",
"end_at",
"status",
],
'filters' => [
"type",
'status',
],
];
}
public function getIndexFields(): array
{
return [
'fields' => [
'type',
'title',
'bandwith',
"start_at",
"end_at",
'status'
],
'filters' => [
"type",
'status',
],
'batchjob_fields' => ['status'],
'batchjob_buttions' => [
'batchjob' => '일괄 처리',
'batchjob_delete' => '일괄 삭제',
],
];
}
//기본 기능부분}
}