<?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 array $nullableFields = [
        'start_at',
        'end_at',
    ];
    protected $allowedFields = [
        "uid",
        "type",
        "protocol",
        "title",
        "bandwith",
        "start_at",
        "end_at",
        "status",
    ];
    public function __construct()
    {
        parent::__construct();
    }
}
