30 lines
608 B
PHP
30 lines
608 B
PHP
<?php
|
|
|
|
namespace App\Models\Equipment;
|
|
|
|
use App\Entities\Equipment\LineEntity;
|
|
|
|
class LineModel extends EquipmentModel
|
|
{
|
|
const TABLE = "lineinfo";
|
|
const PK = "uid";
|
|
const TITLE = "title";
|
|
protected $table = self::TABLE;
|
|
protected $primaryKey = self::PK;
|
|
protected $returnType = LineEntity::class;
|
|
protected $allowedFields = [
|
|
"uid",
|
|
"type",
|
|
"title",
|
|
"bandwith",
|
|
"start_at",
|
|
"end_at",
|
|
"status",
|
|
"updated_at"
|
|
];
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
}
|