38 lines
818 B
PHP
38 lines
818 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 [
|
|
"clientinfo_uid",
|
|
"type",
|
|
"title",
|
|
"bandwith",
|
|
"start_at",
|
|
"status",
|
|
];
|
|
}
|
|
public function getFilterFields(): array
|
|
{
|
|
return ["clientinfo_uid", "type", 'status',];
|
|
}
|
|
public function getBatchJobFields(): array
|
|
{
|
|
return ['status'];
|
|
}
|
|
public function getIndexFields(): array
|
|
{
|
|
return ['clientinfo_uid', 'type', 'title', 'bandwith', 'status', "start_at"];
|
|
}
|
|
}
|